apply_preview
Approve or deny pending file write previews created by subtask executions to control external workspace changes.
Instructions
Approve or deny a pending outside-workspace file write preview created by execute_subtask.
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": {
"preview_token": "<preview_token>",
"approve": "<approve>"
},
"name": "apply_preview"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| approve | Yes | True to apply the write, false to deny it | |
| preview_token | Yes | Preview token returned by execute_subtask |