section
Extract content under a specified heading from a browser session, returning text or structure until the next same- or higher-level heading.
Instructions
Extracts content from under a heading. Finds a heading containing the specified text and returns all content until the next same-or-higher level heading.
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": {
"session": "<session>",
"name": "<name>"
},
"name": "section"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | Yes | Text to match in the heading (case-insensitive) | |
| depth | No | Maximum depth for structure extraction. Default: 10 | |
| limit | No | Character limit for text extraction (0 = no limit). Default: 0 | |
| extract | No | What to extract: "structure" or "text". Default: text | |
| session | Yes | The session name to query |