document_propose_edit
Propose edits to a document by obtaining an edit envelope to fill with PatchIR operations.
Instructions
Return an edit envelope the AI/client can fill with PatchIR operations.
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": {
"doc_id": "<doc_id>",
"instruction": "<instruction>"
},
"name": "document_propose_edit"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| doc_id | Yes | ||
| instruction | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |