Task management tool - create, query, continue, or delete background tasks.

## Operations

### create
Create a new background task. Task will run asynchronously and results will be injected when complete.
- description: Short task description
- prompt: Detailed task instructions for the subagent
- subagent_type: Type of specialized agent to use

### query
Query task status or list all tasks for current session.
- taskId (optional): Task ID to query. Omit to list all tasks.

### continue
Continue a failed or pending task.
- taskId: Task ID to continue

### delete
Delete a task by ID.
- taskId: Task ID to delete

### agents
List available agents for task execution (excludes hidden agents).
- No parameters required

## Concurrency

Multiple tasks can run concurrently (max 5). Use query to check task status.

## Examples

```
task(operation="create" description="Review PR" prompt="Review code changes in the PR" subagent_type="code-reviewer")
task(operation="query")
task(operation="query" taskId="task_xxx")
task(operation="continue" taskId="task_xxx")
task(operation="delete" taskId="task_xxx")
task(operation="agents")
```

## Notes

- Tasks run asynchronously in the background
- Multiple tasks can run concurrently
- Results are injected into the conversation when complete
- Use taskId to track and query specific tasks
- Completed or running tasks cannot be restarted, use query to check status
