source_read
Read source code lines from an execution trace to inspect code around the current position, using data from stack or session status.
Instructions
Read source code lines from the current trace. Use after stack or session_status to see code around the current position.
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": "source_read"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| source_url | No | Source URL as it appears in Pernosco (from stack or session_status output). If omitted, uses current focus source. | |
| start_line | No | First line to read (1-based, default: 1) | |
| end_line | No | Last line to read (inclusive). Defaults to start_line + 50. |