sn_a2a_send_message
Sends a message to a ServiceNow AI agent over A2A and returns its reply or pending task; reuse context_id or task_id to continue the conversation. Requires WRITE_ENABLED.
Instructions
Send a message to a ServiceNow AI agent over A2A and return its reply (or the task when it needs more input or runs async). Pass context_id / task_id from a previous reply to continue the conversation. The agent acts with its own tools, so this REQUIRES WRITE_ENABLED=true.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"agent": "<agent>",
"message": "<message>"
},
"name": "sn_a2a_send_message"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| agent | Yes | Agent sys_id or name | |
| message | Yes | What to ask the agent | |
| task_id | No | Answer an agent that asked for more input | |
| context_id | No | Continue an earlier conversation | |
| wait_seconds | No | How long to wait for an async agent to finish (default 120, max 600; 0 returns the task immediately) |