veya_route_message
Check the saved tool rule for an API key before routing a message between agents; if the rule denies the tool, the request stays denied.
Instructions
Check the saved tool rule for this API key before routing. Deny stays deny.
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": {
"environmentId": "<environmentId>",
"id": "<id>",
"fromAgent": "<fromAgent>",
"toAgent": "<toAgent>",
"tool": "<tool>"
},
"name": "veya_route_message"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| id | Yes | ||
| tool | Yes | ||
| apiKey | No | ||
| payload | No | ||
| toAgent | Yes | ||
| fromAgent | Yes | ||
| environmentId | Yes |