INNER CODE UNIT · Python
chat
google/mcp-security · run-with-google-adk/src/mcp_security_agent/cli.py:101
def chat(
query: Optional[str] = typer.Argument(None, help="Optional single-turn investigation query to execute"),
secops: Optional[bool] = typer.Option(None, "--secops/--no-secops", help="Enable or disable SecOps SIEM MCP"),
scc: Optional[bool] = typer.Option(None, "--scc/--no-scc", help="Enable or disable SCC MCP"),
gti: Optional[bool] = typer.Option(None, "--gti/--no-gti", help="Enable or disable GTI MCP"),
soar: Optional[bool] = typer.Option(None, "--soar/--no-soar", help="Enable or disable SecOps SOAR MCP"),
vertex: Optional[bool] = typer.Option(None, "--vertex/--no-vertex", help="Use Vertex AI for LLM requests"),
model: Optional[str] = typer.Option(None, "--model", help="Gemini model to use (e.g. gemini-2.5-flash)"),
project: Optional[str] = typer.Option(None, "--project", help="Google Cloud project ID"),
customer_id: Optional[str] = typer.Option(None, "--customer-id", help="Chronicle Customer ID (UUID)"),
):
"""Start an interactive terminal chat session with the SOC agent powered by ADK v2."""
_apply_cli_overrides(
secops=secops,
scc=scc,
gti=gti,
soar=soar,
vertex=vertex,