Canvas API Request
canvas_requestExecute any Canvas API endpoint directly. Use dry-run to preview requests before they affect live data.
Instructions
Executes any Canvas API endpoint directly. Non-GET methods CREATE, MODIFY, or DELETE real data in Canvas immediately and cannot be undone from here. Find endpoints with search_canvas_api first. Set dry_run=true to preview the prepared request without sending it. What this is permitted to do is decided by Canvas based on your account's role.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| body | No | JSON request body for write methods | |
| path | Yes | Endpoint path, e.g. '/v1/users/self/groups' or 'courses/123/assignments' | |
| method | Yes | GET, POST, PUT, PATCH, or DELETE | |
| params | No | Query string parameters | |
| dry_run | No | Return the prepared request without sending it |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||