execute
Execute a single task—such as running Python code, sending an HTTP request, or executing a shell command—and return its structured result.
Instructions
Run one task and return its result.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | No | Task name | |
| task_type | Yes | Task type | |
| code | No | Python code | |
| timeout | No | Timeout seconds | |
| url | No | Target URL | |
| method | No | HTTP method | |
| headers | No | Headers | |
| body | No | Request body | |
| verify_ssl | No | Verify SSL | |
| max_body_bytes | No | Max response bytes | |
| retries | No | Retry count | |
| retry_backoff_seconds | No | Retry backoff seconds | |
| query | No | Search query | |
| providers | No | Discovery providers | |
| max_results | No | Max results | |
| fetch_top_results | No | Fetch top result pages | |
| fetch_max_chars | No | Chars per fetched page | |
| max_links | No | Max links | |
| max_text_chars | No | Max extracted chars | |
| include_html | No | Include raw HTML | |
| extract_links | No | Include links | |
| extract_headings | No | Include headings | |
| link_include_pattern | No | Regex for kept links | |
| command | No | Command | |
| path | No | File path | |
| content | No | File content | |
| mode | No | w or a | |
| output_mode | No | full or compact | compact |