Which checkpoint would serve this, and why (no inference)
route_requestClassify a request's language, script, and workflow to name the correct checkpoint before deciding if multilingual handling is needed.
Instructions
Detect language/script and workflow, and name the checkpoint that fits.
Microseconds of work, no model download or forward pass. Useful before deciding whether a request needs the multilingual checkpoint at all.
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": {
"state": "<state>"
},
"name": "route_request"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| lang | No | Force the language branch | |
| model | No | Force a checkpoint | |
| state | Yes | Context to classify | |
| questions | No | Optional question set; its ids can match a typed-decisions workflow |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| repo | No | ||
| model | Yes | ||
| reason | Yes | ||
| script | No | ||
| language | No | ||
| workflow | No |