Get doc page
get_docRetrieve the full text of a bundled Guard documentation page after search_docs, using the package and path from a search result. Returns markdown content and a citable URL.
Instructions
Return the full text of one bundled Guard documentation page.
Use this after search_docs when a snippet is not enough; it does not search. The package and path come from a search_docs result.
Returns package, path, url (the live page to cite) and content (the full markdown). An unknown package or a path that does not exist returns {"error": "unknown doc path"}; the two cases are not distinguished. Read-only and offline, and it cannot read files outside the bundled documentation.
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": {
"package": "<package>",
"path": "<path>"
},
"name": "get_doc"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| path | Yes | The page path relative to the library's bundled docs, copied from a search_docs result. Paths outside the bundled docs are rejected | |
| package | Yes | The library the page belongs to, copied from a search_docs result or from the keys versions reports under docs_bundled_for and knowledge_bundled_for |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||