outsource_text
Delegate text generation to external AI models for diverse perspectives or specialized tasks by specifying provider, model, and prompt.
Instructions
Delegate text generation to another AI model. Use this when you need capabilities
or perspectives from a different model than yourself.
Args:
provider: The AI provider to use (e.g., "openai", "anthropic", "google", "groq")
model: The specific model identifier (e.g., "gpt-4o", "claude-3-5-sonnet-20241022", "gemini-2.0-flash-exp")
prompt: The instruction or query to send to the external model
Returns:
The text response from the external model, or an error message if the request fails
Example usage:
To get a different perspective: provider="anthropic", model="claude-3-5-sonnet-20241022", prompt="Analyze this problem from a different angle..."
To leverage specialized models: provider="deepseek", model="deepseek-coder", prompt="Write optimized Python code for..."
Input Schema
Name | Required | Description | Default |
---|---|---|---|
model | Yes | ||
prompt | Yes | ||
provider | Yes |
Input Schema (JSON Schema)
{
"properties": {
"model": {
"title": "Model",
"type": "string"
},
"prompt": {
"title": "Prompt",
"type": "string"
},
"provider": {
"title": "Provider",
"type": "string"
}
},
"required": [
"provider",
"model",
"prompt"
],
"title": "outsource_textArguments",
"type": "object"
}