delegate_task
Delegate a one-time task to a chosen OpenAI-compatible model and receive its verbatim response. Override model, system prompt, or backend as needed.
Instructions
Delegate a single-shot task to a configured OpenAI-compatible model (e.g. local Ollama or OpenRouter) and return its text response verbatim.
Args:
prompt: The task/question to send to the delegated model.
model: Override just the model string for this call.
system_prompt: Optional system prompt to steer the delegated model.
backend: Named backend from models.json (base_url/model/api_key) to
use instead of the default DELEGATE_* env vars. model, if also
given, overrides the model within that backend.
capture_transcript: Log the full message exchange for later retrieval
via get_delegation_transcript. Off by default; useful when
comparing models (e.g. a bake-off) rather than for routine use.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| model | No | ||
| prompt | Yes | ||
| backend | No | ||
| system_prompt | No | ||
| capture_transcript | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |