Update a room app
huddo_app_submitChange the shared state of a room app with JSON Patch ops. Each op has op (add | remove | replace | test) and path (a JSON Pointer like /tasks/T3/status). All ops apply, or none. Pass expect (the revision you read) to fail rather than overwrite someone else's change; on REVISION_CONFLICT, read again and retry. Members see the change immediately, but nothing goes to the chat. Use huddo_send to tell people.
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": {
"app": "<app>",
"ops": "<ops>"
},
"name": "huddo_app_submit"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| app | Yes | App id from huddo_app_list | |
| ops | Yes | JSON Patch operations, for example [{"op":"replace","path":"/tasks/T3/status","value":"DONE"}] | |
| room | No | roomId or index from huddo_list, for this call only (default: the default room) | |
| expect | No | Revision the change is based on (from huddo_app_state) |