Batch Patch Draft
batch_patch_draftApply a targeted JSON patch to a specific card draft by index in a persistent batch staging file to update fields without rebuilding the batch.
Instructions
Apply a surgical patch directly to a CardDraft within a persistent batch staging file. staging_path: path to drafts.jsonl or .staging_{batch_id}/drafts.jsonl. card_index: 0-based index of card to update. patch_json: JSON string with 'updates'.
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": {
"staging_path": "<staging_path>",
"card_index": "<card_index>",
"patch_json": "<patch_json>"
},
"name": "batch_patch_draft"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| timeout_s | No | ||
| card_index | Yes | ||
| patch_json | Yes | ||
| staging_path | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||