Get InspectAgents Doc
get_docRead one InspectAgents documentation page as Markdown by its path (from search_docs, e.g. "/docs/", "/mcp/", "/llms-full.txt", "/blog/how-to-test-ai-agents/") or its https://inspectagents.com URL. Long pages are returned in parts: use offset and maxChars, and follow nextOffset until it is null. An unknown path returns isError with the valid paths.
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": {
"path": "<path>"
},
"name": "get_doc"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| path | Yes | Document path or https://inspectagents.com URL | |
| offset | No | Character offset to start from (default 0) | |
| maxChars | No | Maximum characters to return (default 30000, max 100000) |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| url | Yes | Canonical URL of the page | |
| path | Yes | ||
| title | Yes | ||
| offset | Yes | ||
| markdown | Yes | The document (or the requested part of it) as Markdown | |
| nextOffset | Yes | Offset of the next part, null when this is the end | |
| totalChars | Yes | Length of the whole document | |
| description | Yes |