agda_elaborate_give
Fill an Agda goal with an expression and return the fully elaborated, normalized solution. Refresh goals afterward using agda_load.
Instructions
Fill a goal/hole with an elaborated solution.
Like agda_give, but returns the fully elaborated (normalized) expression. 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) expr: The expression to fill the hole with
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>",
"expr": "<expr>"
},
"name": "agda_elaborate_give"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| expr | Yes | ||
| goal_id | Yes | ||
| file_path | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |