Route Request
brc_route_requestRoutes a single user request to a RED workflow and uses its text for request classification and authorization provenance. Handles requests such as ‘how do I add a customer,’ ‘create a sales invoice,’ ‘read,’ ‘update,’ ‘delete,’ ‘correct,’ ‘undo,’ and ‘reverse.’ When host-signed original-request metadata is available, the text is checked against it before a route token is issued. Only the request being routed is needed; conversation history and prior turns are not required.
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": {
"message": "<message>"
},
"name": "brc_route_request"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| message | Yes | The single user request being routed, such as 'add a customer'; not conversation history or prior turns. When host-signed original-request metadata is available, this text is checked against it and used to bind any route token to the request. | |
| companyName | No | Optional selected company; binds the issued routeToken to that exact company. Legacy calls without it bind on first transactional use. | |
| connectionRef | No | Opaque Red connection reference returned by brc_confirm_company_connection. Pass this exact value on every later tool call when the MCP client rotates session ids (for example Vibe/Mistral). Keep reusing the same connectionRef after successful tool calls — do not start a new connection because a lookup returned empty or partial data. It is not an API key and does not contain credentials. |