agda_why_in_scope_goal
Trace where a name enters a goal's local scope, explaining its origin and why it is accessible.
Instructions
Explain where a name is brought into scope, in the context of a goal.
Like agda_why_in_scope but with access to the goal's local scope.
Args: file_path: Absolute path to the .agda file goal_id: The goal/hole number (from agda_load output) name: The name to look up
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>",
"goal_id": "<goal_id>",
"name": "<name>"
},
"name": "agda_why_in_scope_goal"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | Yes | ||
| goal_id | Yes | ||
| file_path | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |