wire_write_action
Run a state-changing web action such as submitting a form, adding to cart, or posting content. Provide action_id and optional credential; the tool polls the async job and returns the result.
Instructions
Run a Wire WRITE action — one whose type is "write" (it performs a state-changing interaction on the target site): submit a form, add an item to a cart, post or send content, update account settings. Discover action_ids first with wire_discover or wire_catalog and confirm the action's type is "write"; params must match that action's parameter schema. Most write actions need auth — pass a credential_id from wire_identities or wire_login. This tool transparently polls the async job to completion and returns its result. It does not execute payments or transfer funds; such actions are refused. For data extraction that does not change state (type "read") use wire_read_action instead.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| params | No | The action's input parameters. Shape depends on the action — use its parameter schema from discovery. Omit for actions that take none. | |
| action_id | Yes | The action to run (from wire_discover / wire_catalog). | |
| identity_id | No | Optional identity selector — the server resolves a credential from it (alternative to credential_id). | |
| credential_id | No | Required when the action's auth_mode is "required"; honored when "optional"; ignored when "none". Get one from wire_identities or wire_login. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| data | No | Present when completed — the action's extracted/returned data. | |
| status | Yes | ||
| credits_used | No | ||
| execution_ms | No | ||
| retry_after_ms | No | Present while processing — server's suggested poll delay. |