generateCompletion
Generates LLM chat completions from prompt messages, with optional JSON response formatting and a dry-run preview to validate requests before sending to Polarion.
Instructions
Generates a chat completion using a Large Language Model (LLM). Effect: triggers a server-side action rather than a plain resource creation — whether repeating it is safe, a no-op, or rejected depends on the specific action; treat it as not guaranteed idempotent. Tip: set dry_run: true first to validate the arguments and preview the exact request without sending it to Polarion. The executor returns this preview as normal text, and as structured content when the tool declares an output schema.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| dry_run | No | If true, validates the request and returns the exact request that would be sent to Polarion — with the Authorization header redacted and any binary payload summarized by byte length — without actually sending it. | |
| requestBody | Yes | Generate completion parameters. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| data | No | The result of a completion generation request. |