bodhi_route
Routes a task description to a matching playbook using the INDEX routing table, returning a confidence score and alternatives for fallback or further search.
Instructions
Find the best playbook for a given task. Uses the INDEX.md routing table to match tasks to relevant playbooks. Returns the most relevant playbook with confidence score and alternatives. Use this first — if no match, fall back to bodhi_search.
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": {
"task": "<task>"
},
"name": "bodhi_route"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| task | Yes | Description of the task you need help with (e.g., 'pitch deck design', 'India checkout UX', 'serverless security') | |
| response_format | No | Output format: "markdown" (default, human-friendly) or "json" (structured, all fields) |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| tldr | No | Brief summary of the playbook | |
| title | Yes | Playbook title | |
| domain | Yes | Knowledge domain | |
| playbook | Yes | Relative path to the matched playbook | |
| confidence | Yes | Match confidence score | |
| alternatives | No | Alternative matches ranked by confidence |