set_reading_goal
Create, update, or archive a reading goal. Without id: goal, metric, start_date, and end_date are required; if an active goal with the same metric and dates exists it is updated (only the fields you pass change), otherwise a new goal is…
Instructions
Create, update, or archive a reading goal. Without id: goal, metric, start_date, and end_date are required; if an active goal with the same metric and dates exists it is updated (only the fields you pass change), otherwise a new goal is created. With id (from get_reading_goal): edit that goal, changing only the fields you pass; archived=true hides it from get_reading_goal and archived=false brings it back. Returns the goal with id, target, progress, state, and archived. To remove a goal for good use delete_reading_goal.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| id | No | Goal ID to edit (from get_reading_goal). Omit to create. | |
| goal | No | Target count to reach by end_date. | |
| metric | No | Goal metric: 'book' or 'page'. | |
| privacy | No | Who can see it: 'public', 'followers', or 'private' (or 1, 2, 3). | |
| archived | No | With id: true archives the goal, false restores it. | |
| end_date | No | End date (ISO 8601, e.g. '2026-12-31'). | |
| start_date | No | Start date (ISO 8601, e.g. '2026-01-01'). | |
| description | No | Optional goal description. |