pack_docs
Crawl a documentation site from a start URL and return it as one agent-ready context blob: each page extracted to clean Markdown, concatenated with its URL. Stays within the same site section; bounded by depth and page count. Use max_tokens to fit a budget.
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": {
"url": "<url>"
},
"name": "pack_docs"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| url | Yes | The absolute http(s) URL to start crawling from (e.g. a docs index). | |
| depth | No | How many link hops to follow (0–3, default 1). | |
| max_pages | No | Max pages to fetch (1–30, default 10). | |
| max_tokens | No | Stop adding pages once the estimate exceeds this many tokens. |