read_page
Read a Siemens documentation page as Markdown and retrieve its outline, selected sections, or code blocks using a URL or compact reference.
Instructions
Read one documentation page as Markdown with a header (publication, version, breadcrumb, source
reference). mode='outline' lists numbered headings with sizes. section takes an outline number or heading
text (e.g. 'Program code', which also matches 'Program code: …') and returns only matching sections.
mode='code' returns only code blocks under their headings and combines with section. Long results end
with the exact arguments to continue (offset, plus section/mode/reference_format when set).
Links to other topics on the same host in a page body follow reference_format; images keep only their alt text.
Pass reader URLs or compact references in the unchanged url parameter. Compact forms: : or :/; stable prefixes tia=docs.tia.siemens.cloud and iox=docs.industrial-operations-x.siemens.cloud. Any allowed host may also use its full hostname as prefix. Tool-generated addresses default to compact references; set reference_format='url' for reader URLs. Allowed hosts: docs.tia.siemens.cloud, docs.industrial-operations-x.siemens.cloud (default: docs.tia.siemens.cloud).
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": {
"url": "<url>"
},
"name": "read_page"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| url | Yes | ||
| mode | No | full | |
| offset | No | ||
| section | No | ||
| max_chars | No | ||
| reference_format | No | compact |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |