Change an app's data
write_app_dataCall one of an app's tools that changes data, as describe_app lists it: an action, or a built-in tool such as app_revert. Every change is checked against the app's rules before it is kept. Put the tool's arguments, and the ones Cliquet adds such as app_remark, inside arguments.
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>",
"tool": "<tool>"
},
"name": "write_app_data"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| app | Yes | The app, as list_apps names it, such as sam/budget. | |
| role | No | The role to act as, one the person holds. Leave it out when they hold one. | |
| tool | Yes | The tool's name, as describe_app lists it. | |
| arguments | No | The tool's arguments, as an object, as describe_app describes them. |