Data change probe
get_data_versionPoll the store's global change counter and settings/files sub-counters to detect changes and decide whether to refetch app data. Optionally narrow the check to one collection.
Instructions
Internal: the widget runtime's change probe — the store's global change counter (seq) plus settings/files sub-counters, polled to decide whether to refetch. Not for the model.
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "get_data_version"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| collection | No | narrow seq to this collection |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| seq | Yes | ||
| files_version | Yes | ||
| schema_version | Yes | ||
| settings_version | Yes |