semantic_slice
Retrieve exact source lines for a symbol or file, with optional dependency and memory context.
Instructions
Return relevant exact source lines with optional dependency and memory context
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "semantic_slice"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| file | No | Relative or absolute source file path | |
| symbol | No | Symbol id/name (e.g. ToolHandlers.callTool) | |
| query | No | Natural-language fallback query | |
| context | No | Slice detail mode | body |
| pprScore | No | Optional PPR score from context_pack pipeline | |
| profile | No | Response profile | compact |