delegate_to_provider
Route a sub-agent to any OpenAI/Anthropic-compatible provider by specifying the endpoint, API key, and model, enabling delegation to non-default backends like DeepSeek or local models.
Instructions
Versión genérica: despacha un agente a CUALQUIER endpoint OpenAI/Anthropic-compatible. Usar para rutear explícitamente a providers no configurados como default (DeepSeek, MiniMax, Alibaba, OpenRouter, etc.).
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| task | Yes | ||
| model | Yes | Identificador del modelo (depende del provider) | |
| api_key | Yes | API key del provider | |
| workdir | No | . | |
| mode_tag | No | Tag a prepender en system prompt (default MODE:LOCAL — puede ser MODE:DEEPSEEK etc.) | MODE:LOCAL |
| max_turns | No | ||
| agent_name | Yes | ||
| max_tokens | No | ||
| provider_url | Yes | URL completa al endpoint /v1/messages (o equivalente) |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||