invoke
Run one operation and get its result as a handle: type, size, estimated tokens, the value itself if small (else a preview), and suggested next ops. Example: invoke(op="fetch", args={"url": "https://example.com"}), then invoke(op="html_to_text", input="").
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| op | Yes | Op id, e.g. 'fetch', 'html_to_text', 'calc'. See discover(). | |
| args | No | The op's arguments, e.g. {"url": "https://example.com"} for fetch or {"expr": "2 ** 10"} for calc. | |
| input | No | The data to operate on: a handle id from an earlier result (h_...), or a literal value (text, number, list, object). Omit for ops that take no input, like fetch, calc or now. | |
| input_type | No | Override the inferred type of a literal input, e.g. 'html'. | |
| inline_max_tokens | No | Results up to this many estimated tokens include their value directly; larger ones return a preview. Default 300. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||