Send a message to an agent
chat_sendSend a message to an agent. Sends a prompt to a coding agent in the VM, in a new chat or the one named by sessionId. It answers at once; follow the chat in the dashboard or with the CLI.
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": {
"vmId": "<vmId>",
"message": "<message>"
},
"name": "chat_send"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| vmId | Yes | ||
| model | No | ||
| message | Yes | ||
| sessionId | No | ||
| permissionMode | No |