modify_assignment
Modify an existing assignment group by replacing its definition and all time slots. Use new parameters for title, users, dates, and times via group ID.
Instructions
Modify an existing assignment group with human-friendly parameters.
Replaces the group definition and all its time slots. The server marks a tombstone for the old group, removes old slots, and creates new ones. Uses the same parameter format as create_assignment but requires group_id.
Args: id_activity: Activity ID group_id: Existing group ID to update (from get_activity or create_assignment result) user_ids: List of user IDs to assign titre: Assignment title start_date: Start date in YYYY-MM-DD format end_date: End date in YYYY-MM-DD format (same as start_date for single-day) start_hour: Start hour 0-23 start_minute: Start minute 0-59 end_hour: End hour 0-23 end_minute: End minute 0-59 weekdays: Active weekday names for recursive mode. Omit for single-day. notes: Optional notes text
Returns: JSON string — human-readable summary with updated slot details.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| notes | No | ||
| titre | Yes | ||
| end_date | Yes | ||
| end_hour | Yes | ||
| group_id | Yes | ||
| user_ids | Yes | ||
| weekdays | No | ||
| end_minute | Yes | ||
| start_date | Yes | ||
| start_hour | Yes | ||
| id_activity | Yes | ||
| start_minute | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |