agda_solve_one
Solve an Agda goal when unification has determined its solution. Provide the file path and goal ID, then reload goals with agda_load afterward.
Instructions
Solve a single goal if its solution has been determined by unification.
Only works if the goal has been fully instantiated (e.g. by constraints). Call agda_load afterwards to refresh goals.
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_solve_one"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| goal_id | Yes | ||
| file_path | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |