days_since_event
Calculate the number of days elapsed since a named event in your timeline, using a reference time to anchor the calculation.
Instructions
Return the number of days since a named timeline event (e.g., surgery_date).
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": {
"timeline_state": "<timeline_state>",
"event_name": "<event_name>",
"reference_time": "<reference_time>"
},
"name": "days_since_event"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| event_name | Yes | ||
| reference_time | Yes | ISO-8601 datetime | |
| timeline_state | Yes |