get_document
Retrieve full document content by providing its file path and project name, reconstructing text from indexed chunks.
Instructions
Retrieve all indexed chunks of a specific document.
Args: file_path: Relative file path within the project (e.g., "src/Device.h") project: Project name (e.g., "my-project")
Returns: Full reconstructed document content from indexed chunks
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": {
"file_path": "<file_path>",
"project": "<project>"
},
"name": "get_document"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| project | Yes | ||
| file_path | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |