create_playbook
Saves a repeatable approach as a playbook so similar questions are answered consistently; use when a user states a standing preference or a correction applies beyond one answer.
Instructions
Save a repeatable approach as a playbook, so the next question of the same kind gets answered the same way. Use when the user asks to save an approach, or accepts an offer to save one: typically after they state a standing preference ("always quote the statute", "from now on…") or correct an approach in a way that generalises beyond one answer. Not for a one-off lookup, or when an existing playbook nearly covers the case: list_playbooks shows those and update_playbook changes one. Keep when narrow and concrete: a vague trigger makes every later question match it. Put the exact sources in references as doc: links, ideally the citations just used.
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": {
"workspace": "<workspace>",
"library": "<library>",
"title": "<title>",
"when": "<when>"
},
"name": "create_playbook"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| when | Yes | One line describing when this applies, e.g. "A user asks for a summary of a single case." This is what a model reads to choose it. | |
| title | Yes | Short name, e.g. "Case summary" | |
| tools | No | Optional names of the tools this playbook expects to be used | |
| library | Yes | Library id, title or path the playbook belongs to (call list_libraries first) | |
| workspace | Yes | Workspace path/name | |
| references | No | Sources to read every time, as doc: links (a library section citation, or doc:<path> for a workspace document) | |
| instructions | No | Markdown body: the steps to follow and the shape of the output |