text
Extract inner page content from the full page or a CSS/label/element target; after clicks or form steps, enable settle to wait for changes to stop and return the current URL.
Instructions
Get inner text (whole page or a target — @eN, @text:Foo, @label:Email, CSS, etc.). After a click or form step, pass settle=true: it waits for the page to stop changing, then reads, and returns the url too. Use that instead of a timed wait in page script.
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "text"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| lease | No | Optional lease token to present if the target session is leased (0.7.0). Threaded per-call; never read from the server's env. | |
| settle | No | Wait up to 5s for the page text to stop changing first. | |
| target | No | Optional @eN / @text: / @label: / CSS. | |
| session | No | Optional session name to target (omit for the shared 'default'). On a daemon shared with other agents, pass a UNIQUE name for stateful multi-step work (go→click→fill) so you don't collide on 'default'. | |
| max_chars | No | Cap the returned text. |