execute_prompt
Send a single-turn prompt to any available model from providers like OpenAI, Ollama, or OpenRouter and retrieve its response. Optionally attach local text or image files for context.
Instructions
Execute a single-turn prompt against a model and return its response.
provider and model_id must match an entry from list_models. attachments
is an optional list of local file paths (text or images) included as
context with the prompt.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| prompt | Yes | ||
| model_id | Yes | ||
| provider | Yes | ||
| attachments | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |