canvas_update_page
Update a Canvas LMS wiki page by changing only specified fields: replace body HTML, rename title, or toggle published visibility.
Instructions
Edit a wiki page. MUTATES the course.
Only the fields you pass change. Passing body REPLACES the whole page — read canvas_get_page first if you mean to append. Note that canvas_get_page returns plain text, so round-tripping it through this tool will flatten the page's existing HTML formatting.
Args: page_url: the page's url slug (from canvas_list_pages), not its id. title: new title, or empty to leave unchanged. Renaming does NOT change the url slug, so existing links keep working. body: new page HTML, or empty to leave unchanged. published: True/False to change visibility, or omit to leave alone. course_id: numeric course id; defaults to CANVAS_DEFAULT_COURSE_ID.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| body | No | ||
| title | No | ||
| page_url | Yes | ||
| course_id | No | ||
| published | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |