Set several statuses
set_statusesUpdate the status of multiple job applications in one confirmed, undoable write. Preview every row, approve once, and revert the whole batch with a single undo if needed.
Instructions
Change the status of several applications in one write, for example after a day of replies. Each item takes the arguments of set_status and is applied as set_status applies it. The user sees one preview of every row and answers once. A row may appear only once. The write is all or nothing: if one row is refused, nothing is written and the error names that row. It makes one backup, so one undo_last_write reverts the whole batch.
The tool writes only with the user's yes. The client may ask in its own confirmation dialog. Otherwise call with dry_run=true, show the preview to the user, and after they agree in a new message repeat the same call with confirm=. The write is refused if the tracker changed since expected_version. A backup is taken first, and undo_last_write reverts the write.
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": {
"items": "<items>"
},
"name": "set_statuses"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| items | Yes | One status change per row | |
| confirm | No | Token from the dry run the user approved. Not needed when the client shows the server's confirmation dialog | |
| dry_run | No | Only show what would change, plus the confirm token; write nothing | |
| expected_version | No | `version` from your last read; the write is refused if the file changed since |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||