submit_form
Submit any web form by providing field values, then return the result page as clean markdown. Handles search, filters, and authenticated forms in your session.
Instructions
Fill a form on url and return the RESULT page as clean markdown (same pipeline
as fetch_page). fields maps each field's name / label / placeholder to a value,
e.g. {"q": "wireless headphones"} or {"From": "SFO", "To": "JFK"}. submit is a
button's visible text; if omitted, Enter is pressed in the last filled field (the
search-box convention). Rides the user's session, so site search, filters, and
logged-in forms work.
Discover field names first with page_forms(url). This unlocks site search, faceted browsing, and any GET/POST/JS form. For a simple GET search, fetch_page with the query in the URL is lighter.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| url | Yes | ||
| fields | Yes | ||
| submit | No | ||
| private | No | ||
| max_chars | No | ||
| wait_selector | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |