register_agent
Register an AI agent for delegated tasks by specifying provider, model, system prompt, and API credentials.
Instructions
Register a new AI agent.
Args: name: Unique name for the agent provider: Provider type (openai_compat, anthropic, bedrock, gemini) model: Model identifier (e.g., 'glm-4', 'claude-3-5-sonnet') system_prompt: System prompt for the agent description: Human-readable description api_key_env: Environment variable name for API key temperature: Sampling temperature (0.0-2.0) max_tokens: Maximum tokens to generate capabilities: List of agent capabilities base_url: Base URL for OpenAI-compatible providers region: AWS region for Bedrock
Returns: Registered agent profile
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"name": "<name>",
"provider": "<provider>",
"model": "<model>",
"system_prompt": "<system_prompt>",
"description": "<description>",
"api_key_env": "<api_key_env>"
},
"name": "register_agent"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | Yes | ||
| model | Yes | ||
| region | No | us-east-1 | |
| base_url | No | ||
| provider | Yes | ||
| max_tokens | No | ||
| api_key_env | Yes | ||
| description | Yes | ||
| temperature | No | ||
| capabilities | No | ||
| system_prompt | Yes |