get_symbol_documentation
Fetch symbol documentation from local toolchain sources (go doc, pydoc, cargo doc), covering transitive dependencies not indexed by the language server. Returns doc text, signature, and source tag.
Instructions
Fetch authoritative documentation for a named symbol from local toolchain sources (go doc, pydoc, cargo doc) without requiring an LSP hover response. Works on transitive dependencies not indexed by the language server. Returns the full doc text, extracted signature, and source tag. Falls back gracefully when the toolchain command fails or the language is unsupported.
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": {
"symbol": "<symbol>",
"language_id": "<language_id>"
},
"name": "get_symbol_documentation"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| format | No | ||
| symbol | Yes | ||
| file_path | No | ||
| language_id | Yes |