Create Page
create_pageCreate a new wiki page in a course with a title and optional HTML body, published state and editing_roles, and return the created page — including its url slug, used as page_url by get_page, update_page and delete_page.
Instructions
Create a new wiki page in a course with a title and optional HTML body, published state and editing_roles, and return the created page — including its url slug, used as page_url by get_page, update_page and delete_page. Not idempotent: each call creates another page; Canvas does not deduplicate by title, so check list_pages first to avoid creating a duplicate. Use update_page to edit an existing page instead of creating a new one, and create_module_item's page_url parameter (with type Page) to place this page inside a module. Requires permission to manage wiki content in the course.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"course_id": "<course_id>",
"title": "<title>"
},
"name": "create_page"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| body | No | HTML body content of the page | |
| title | Yes | Title of the page | |
| 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 |