Docsbook agent
docsbook_agentTHE DOCSBOOK AGENT — a general-purpose worker you delegate to. Say what you want in your own words, in any language, and it does the job on the project end to end: reads the repository and the existing pages, works out what should change, writes and restructures the documentation, configures the site, translates, and measures the effect. It knows Docsbook itself — the product's own documentation is part of what it works from — so it does not need to be told how the platform works or what good documentation looks like. DELEGATE THE GOAL, NOT THE STEPS: 'document the new API', 'our quickstart loses people on step 3', 'nobody finds us in AI answers', 'make the pricing page match the product', 'переведи доки на английский', or just a question about the docs you want answered properly. It decides the steps; a caller's guess at them is the one input in the whole run that nobody chose. A REQUEST IS ENOUGH — workspace_id is optional. With one project on the account it uses that one; name a project in the request and it resolves it; only a genuinely ambiguous account is asked back, with candidates. It returns immediately with a task_id and then works for minutes, not seconds — that is not a reason to sit and wait: call docsbook_agent_activity any time to watch it work step by step, live, and docsbook_agent_reply to ask it something about the job while it runs, not only when it asks first. docsbook_agent_status gives the current state and result, docsbook_agent_stop ends it. One job per intention: two running at once on one project will both be right about the pages and can still disagree about the order they land in.
- SAFE TO HAND WORK TO: every page change is an ordinary git commit in the project's own repository, so it is reviewable and revertible like any other; written pages land at
generated/reviewstatus and this path can never mark anythingapproved— sign-off stays a separate, deliberate human act; it asks you rather than guessing when a decision is yours; anddocsbook_agent_stopends it at any point.
{
"jsonrpc": "2.0",
"id": 1,
"method": "tools/call",
"params": {
"name": "docsbook_agent",
"arguments": {
"request": "<request>"
}
}
}