Create Request
create_requestCreate a new local request draft or tracked entry in SQLite. Stores title, body, and optional metadata without remote submission.
Instructions
Create a new local FYI/Alaveteli request row (draft or tracked) in SQLite. Use only when starting a new request; use update_request to change an existing ID and delete_request to remove one. Mutating and not idempotent: each call allocates a new ID. Does not submit to a remote authority, send email, or require network access; title and body are required.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| url | No | Optional absolute FYI/Alaveteli URL when the request already exists online; omit for pure local drafts. | |
| body | Yes | Full request body or draft text to store locally (required, non-empty). | |
| tags | No | Optional local classification tags for filtering/reporting; replace-not-merge semantics only apply on update_request. | |
| title | Yes | Short public-facing request title (required, non-empty). | |
| status | No | Optional initial local lifecycle status. Prefer draft until the request is ready; does not trigger remote submission. | |
| user_name | No | Optional requester display name for local tracking only. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| request | Yes | The newly created local request record. |