Skip to main content
Glama

Task Agents

run_agent

Delegate complex multi-step tasks to specialized autonomous agents for independent execution, handling operations like code refactoring, test fixes, and systematic codebase analysis.

Instructions

Delegate complex, multi-step, or specialized tasks to an autonomous agent for independent execution with dedicated context (e.g., refactoring across multiple files, fixing all test failures, systematic codebase analysis, batch operations)

Input Schema

NameRequiredDescriptionDefault
agentYesIdentifier of the specialized agent to delegate the task to
promptYesTask description or instructions for the agent to execute. When referencing file paths, use absolute paths to ensure proper file access.
cwdNoWorking directory path for agent execution context (optional)
extra_argsNoAdditional configuration parameters for agent execution (optional)

Input Schema (JSON Schema)

{ "properties": { "agent": { "description": "Identifier of the specialized agent to delegate the task to", "type": "string" }, "cwd": { "description": "Working directory path for agent execution context (optional)", "type": "string" }, "extra_args": { "description": "Additional configuration parameters for agent execution (optional)", "items": { "type": "string" }, "type": "array" }, "prompt": { "description": "Task description or instructions for the agent to execute. When referencing file paths, use absolute paths to ensure proper file access.", "type": "string" } }, "required": [ "agent", "prompt" ], "type": "object" }

Other Tools from Task Agents

Related Tools

    MCP directory API

    We provide all the information about MCP servers via our MCP API.

    curl -X GET 'https://glama.ai/api/mcp/v1/servers/shinpr/sub-agents-mcp'

    If you have feedback or need assistance with the MCP directory API, please join our Discord server