run_iteration
Apply a patch, reload the addon, and validate changes in one iteration. Returns the applied patch and verdict for the edit-observe-fix loop.
Instructions
One full iteration: optional patch -> reload (or a restart note) -> validate. Returns the applied patch and the verdict. This is the core of the edit/observe/fix loop.
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": {
"addon": "<addon>"
},
"name": "run_iteration"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| file | No | File to patch, together with content. | |
| addon | Yes | ||
| reload | No | Touch files to trigger autorefresh after patching. | |
| content | No | The file's new contents. | |
| rationale | No |