configure_offline_sync
Configure mobile offline sync by setting a table's data item query condition, and optionally mark a screen available offline or enable offline on an app config.
Instructions
Configure which records of a table are available offline in mobile: sets the data item offline query condition, and optionally marks a screen available offline and enables offline on an app config. [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": {
"table": "<table>"
},
"name": "configure_offline_sync"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| query | No | Filter query for sync scope (the data item offline query condition) | |
| table | Yes | Table to sync offline | |
| screen | No | Optional screen (sys_sg_screen) sys_id to mark available offline | |
| data_item | No | Existing data item (sys_sg_data_item) sys_id to configure; a new offline data item for the table is created if omitted | |
| app_config | No | Optional mobile app config (sys_sg_native_client) sys_id to enable offline on | |
| max_records | No | Not stored (mobile offline has no per-table record cap); kept for compatibility |