Get planning calendar
get_planning_calendarRead trading, promotion or custom calendar entries for one remit in a date window, with each calendar's id, source and revision. Use it for key dates, promotions, holidays and trading periods, and to turn a named season into dates before calling recall_decisions.
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": {
"type": "<type>",
"bookKey": "<bookKey>",
"starts": "<starts>",
"ends": "<ends>"
},
"name": "get_planning_calendar"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| ends | Yes | Last day of the window, YYYY-MM-DD. | |
| type | Yes | Calendar type: trading, promo or custom. | |
| starts | Yes | First day of the window, YYYY-MM-DD. | |
| bookKey | Yes | The remit key to read for; empty string for shared workspace calendars only. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| type | Yes | ||
| window | Yes | ||
| bookKey | Yes | ||
| entries | Yes | Calendar entries overlapping the window. | |
| calendars | Yes | ||
| canManage | Yes | ||
| fetchedAt | Yes | ||
| evidence_id | Yes | ||
| source_evidence_ids | Yes | Workspace evidence IDs backing these rows. Empty when the source carries no evidence records. |