Update Page
update_pageUpdate an existing wiki page's title, body, published state or editing_roles. Only the fields you pass are sent to Canvas; omitted fields are left unchanged.
Instructions
Update an existing wiki page's title, body, published state or editing_roles. Only the fields you pass are sent to Canvas; omitted fields are left unchanged. body is not merged — it replaces the entire HTML body, so read the current content with get_page first and send back the full edited body, not just the changed part. Returns the updated page. Idempotent: calling it again with the same fields produces the same resulting page. Use create_page to make a new page instead, delete_page to remove this one, and update_course's syllabus_body parameter to edit the course syllabus, which is not a wiki page editable here. Requires permission to manage wiki content in the course.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| body | No | New HTML body content | |
| title | No | New title for the page | |
| page_url | Yes | The page URL slug | |
| course_id | Yes | The Canvas course ID | |
| published | No | Whether the page is published | |
| editing_roles | No | Who can edit: "teachers", "students", "members", or "public" |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| url | Yes | ||
| body | No | ||
| title | Yes | ||
| page_id | Yes | ||
| published | No | ||
| created_at | No | ||
| updated_at | No | ||
| editing_roles | No |