{
  "name": "task_agent",
  "description": "Delegate a general-purpose task to an autonomous sub-agent. The agent can read, write, edit, search, and run commands but does NOT have access to memory, recall, watch, skill, plan_agent, or task_agent — it cannot save memories, search conversation history, set up watches, or delegate further. All context must be in the prompt. Provide a clear, self-contained task description.",
  "parameters": {
    "type": "object",
    "properties": {
      "prompt": {
        "type": "string",
        "description": "Complete task description for the sub-agent."
      },
      "model": {
        "type": "string",
        "description": "Optional model alias to run this task agent on. Omit to use the current session model. (No alternative aliases configured in this session.)"
      }
    },
    "required": ["prompt"]
  },
  "primary_key": "prompt"
}
