refresh_app
Fetch the data of a spec app now (its http data sources) and redraw the open screen if anything changed. Apps with a refresh interval in the spec also refresh by themselves. The result lists the sources that changed and any errors; a source that fails keeps its last good data. Fails with not_installed. Logged in device_log as data_refresh.
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": {
"session": "<session>",
"id": "<id>"
},
"name": "refresh_app"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| id | Yes | App id | |
| session | Yes | Session from open_app |