agda_context
Fetch the context (variable bindings) at a given goal in an Agda file to see what is available and solve the hole.
Instructions
Get the context (available bindings) at a specific goal/hole.
Args: file_path: Absolute path to the .agda file goal_id: The goal/hole number (from agda_load output)
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": "agda_context"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| goal_id | Yes | ||
| file_path | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |