Read analyzed source
analysis.source.getRead a bounded source excerpt from the pinned commit for a file present in an authorized semantic analysis.
Example tool call
This call uses example arguments supplied in the tool’s input schema.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"path": "src/main.go",
"end_line": 80,
"start_line": 1,
"analysis_id": "rna_example"
},
"name": "analysis.source.get"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| path | Yes | repository-relative path already present in the semantic graph | |
| end_line | No | ||
| start_line | No | ||
| analysis_id | Yes | ||
| organization_id | No | organization membership to use for this call; omit only when the account has one current membership |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| source | Yes |