read_planning
Retrieve all planning slots for a specified year, including time slots and user assignments, with optional filtering by activity.
Instructions
Read all planning slots for a given year via the bot API.
Returns actual time slot data (start_time, end_time, day of year, user assignments) and group controls (recursive assignment groups).
Args: year: Year to read (e.g. 2026). Returns all slots for that year. id_activity: Optional — filter to a specific activity. 0 = all activities.
Returns: JSON string — a readable report with: - Per-activity summary: activity_id, group_title, date_range, active_weekdays, slots: [{day_of_year, user_id, start_time, end_time}] - If id_activity is 0, all activities are included. - If id_activity is set, only that activity's slots are returned.
Workflow: 1. Call list_activities to get activity IDs 2. Call read_planning(year=2026) to get all slots 3. Filter by activity or user as needed
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| year | Yes | ||
| id_activity | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |