code_snippets
Generate runnable curl, JavaScript, and Python samples for every operation, with path params filled in and a realistic body.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| context | No | Optional: why you are asking. One sentence — the task you are trying to complete, or what you expect to get back. Never included in the answer and never used to rank; it is read only when a result turns out to be wrong, which is when knowing the intent is what makes the report actionable. | |
| document | Yes | The API description to operate on — OpenAPI, AsyncAPI, Arazzo or JSON Schema. A YAML/JSON string or an already-parsed object; both are accepted. |