Narya Synth
narya_synthSynthesize the type of a Narya term, optionally normalizing it, or infer types within a hole's context without committing changes.
Instructions
Synthesize the type of term (Narya synth), or with normalize=True also normalize it (Narya echo).
With hole, the term is elaborated in that hole's context (its variables are in scope). Nothing is committed.
Only synthesizing terms work (constants, applications, ascriptions (t : T)); a bare abstraction does not.
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": {
"session_id": "<session_id>",
"term": "<term>"
},
"name": "narya_synth"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| hole | No | ||
| term | Yes | ||
| timeout | No | ||
| normalize | No | ||
| session_id | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||