Class McpFullResultAgent

java.lang.Object
com.example.mcpfullresult.McpFullResultAgent

public final class McpFullResultAgent extends Object
Defines an agent whose MCP tool returns the whole tool result, which an after-tool callback reduces to its structured content before the model sees it.
  • Method Details

    • create

      public static LlmAgent create(String accessToken, String project)
      Creates the agent. accessToken authenticates to the BigQuery MCP server, and project is billed for the requests.