agent_send
Send a message to a provider-native session, with independent controls for model, agent, and reasoning. Enables coordinated message passing across supported coding agents.
Instructions
Send a message to a provider native session. Model, agent, and reasoning are separate controls. For OpenCode, accepted means transport queued the prompt and does not mean completion.
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": {
"provider": "<provider>",
"nativeId": "<nativeId>",
"text": "<text>"
},
"name": "agent_send"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| mode | No | ||
| text | Yes | ||
| agent | No | ||
| model | No | ||
| nativeId | Yes | ||
| provider | Yes | ||
| reasoning | No |