openligadb_last_changed
Retrieve a league season matchday's source update timestamp to decide whether refetching the full matchday is necessary.
Instructions
Get a matchday's last update time. Returns OpenLigaDB's source update timestamp for one league, season and matchday. Use this cheap check before refetching the full matchday when the timestamp is unchanged.
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": {
"league_shortcut": "<league_shortcut>",
"season": "<season>",
"group_order_id": "<group_order_id>"
},
"name": "openligadb_last_changed"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| season | Yes | Season starting year | |
| group_order_id | Yes | Matchday or round id from openligadb-groups | |
| league_shortcut | Yes | Exact shortcut from openligadb-leagues |