Update Request
update_requestUpdate an existing local FYI request by ID, fully replacing title, body, and optional fields. Marks the record dirty for offline sync.
Instructions
Replace editable fields on an existing local FYI/Alaveteli request by ID and mark the record dirty for offline sync. Use when the request already exists and fields changed; use create_request for a new ID and delete_request to remove. Requires id, title, and body (full replacement for those fields, not a sparse patch). Mutating but non-destructive; safe to re-run with the same values; does not call remote APIs.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| id | Yes | Existing local request ID to update (must already exist). | |
| url | No | Optional replacement absolute FYI/Alaveteli URL. | |
| body | Yes | Replacement request body or draft text (required; full replace). | |
| tags | No | Optional full replacement tag list (not appended to existing tags). | |
| title | Yes | Replacement request title (required; full replace, not merge). | |
| status | No | Optional replacement local lifecycle status; changing status does not submit or withdraw a remote request. | |
| user_name | No | Optional replacement requester display name; when omitted, existing local value is preserved. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| request | Yes | The updated local request record. |