crawl_docs
Crawl a documentation site and save every page as Markdown with an index.md for offline or project-based reference.
Instructions
Crawl a documentation site and save every page as Markdown, plus an index.md.
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": "crawl_docs"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| url | Yes | Where to start, usually the docs home page. | |
| directory | No | Absolute folder to save into. Use a folder inside the user's project for project reference docs. Leave empty to use the global library. | |
| max_pages | No | Stop after this many pages. | |
| path_prefix | No | Only crawl URLs whose path starts with this, like /docs/. Defaults to the start URL's path, so pass a broader prefix when starting from a page deep inside the docs. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |