history_diff
Compare owned position history within a bounding box between two timestamps to identify contacts that arrived, departed, or stayed.
Instructions
What changed inside a box between two moments: arrived, departed, stayed.
Answers from OWNED history, so it works for any past window still retained
rather than only the present instant. at_a and at_b are epoch seconds
(at_b defaults to now); each is widened by window_sec because a stored
position is a sample rather than a continuous truth.
recorded: false means nothing was in the archive for that box and window -
which is NOT the same as "nothing changed". Do not report an empty archive
as a quiet period.
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": {
"lamin": "<lamin>",
"lomin": "<lomin>",
"lamax": "<lamax>",
"lomax": "<lomax>",
"at_a": "<at_a>"
},
"name": "history_diff"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| at_a | Yes | ||
| at_b | No | ||
| kind | No | ||
| lamax | Yes | ||
| lamin | Yes | ||
| lomax | Yes | ||
| lomin | Yes | ||
| window_sec | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||