Canvas table of contents
get_canvas_tocRetrieve the table of contents for a canvas document to get section IDs, headings, and levels for navigation and section patching. Read-only.
Instructions
Get the table of contents for a canvas document. Returns section IDs, headings, and levels for navigation and patch_canvas_section. Read-only. Use read_canvas for full markdown and list_canvas to discover slugs. Pass playbook_id as the UUID or GUID of the playbook this call should target.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| slug | Yes | Document slug | |
| run_id | Yes | Workflow run UUID | |
| playbook_id | Yes | UUID or GUID of the target playbook |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| toc | Yes | ||
| name | Yes | ||
| slug | Yes |