get_toc
Retrieve the table of contents for a Siemens documentation page or topic subtree by URL, with adjustable depth, returning an indented outline of titles and reader links.
Instructions
Show the table of contents (1-6 levels via depth) of the publication, or of the subtree under the
topic, in url: an indented outline, one line per node with title and reader URL.
Reader URLs from any search result, TOC line or page link are valid input. Allowed hosts: docs.tia.siemens.cloud, docs.industrial-operations-x.siemens.cloud (default: docs.tia.siemens.cloud).
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| url | Yes | ||
| depth | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |