Call the agent

Before calling the agent using A2A, first query its Agent Card. When calling the agent tool through MCP, you need to prepare a RuntimeGrant that matches the runtime task.

Select task

Task

interface

Description

Query agent calling instructions

Query agent call description

Read the Agent Card and confirm the A2A protocol version, calling address, input and output type and capability supported by the target agent.

Call the agent through A2A

Call agent via A2A

Send messages or query tasks to the target agent through A2A JSON-RPC.

Call the agent tool through MCP

Call the agent tool through MCP

Use a task-scoped RuntimeGrant to list or invoke tools allowed by the current task through the MCP.

Last updated on