create_request_draft
Create a local YAML draft of a German freedom-of-information request for human review and approval before submission.
Instructions
Write a local YAML draft. RED tier, but performs NO network traffic at all.
The file starts in status ``draft`` with a placeholder confirmation token. A human
has to read the text, set ``status: approved`` and replace ``confirmation_token``
before anything can be submitted.
Args:
path: where to write the YAML file.
subject: request subject, 8-230 characters.
body: the request text, at most 5000 characters.
publicbody_id: recipient authority id.
law_wunsch_id: the law you want to file under.
law_api_default_id: the law the REST API would apply — see get_authority().
law_wunsch_law_type: law_type of the desired law, e.g. "IFG" or "UIG".
publicbody_name: authority name, for the L01 cross-check.
publicbody_email: authority e-mail, for the L01 cross-check.
ermittelt_ueber: how responsibility was established (a URL or a sentence).
public: whether the request will be public. Public means CC0 and visible to all.
full_text: True sends your text verbatim, False lets froide frame it.
submit_via: "web_form" (human presses send) or "api" (immediate dispatch).
dry_run: True (default) returns the draft without writing the file.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| body | Yes | ||
| path | Yes | ||
| public | No | ||
| dry_run | No | ||
| subject | Yes | ||
| full_text | No | ||
| submit_via | No | web_form | |
| law_wunsch_id | Yes | ||
| publicbody_id | Yes | ||
| ermittelt_ueber | No | ||
| publicbody_name | No | ||
| publicbody_email | No | ||
| law_api_default_id | No | ||
| law_wunsch_law_type | No |