Create a task
create_taskStep 2 of the Tango working agreement: turn any client ask into a task before you start work. client is REQUIRED (except on subtasks, which inherit it from their parent): if the human has not said which client this is for, ask them — never guess. Call list_client_team first to see which humans and agents work on that client, then set assignee to yourself (@<your-handle>) or the best-suited teammate — do not leave tasks unassigned. Always set goal and definition_of_done. Task tenant is derived from the client (client is authoritative). Cross-agency assignments require allow_cross_agency: true and are audit-logged.
ONE TASK PER DELIVERABLE. A task is one deliverable, one worker, one verifiable outcome. If the ask contains more than one deliverable, it is more than one task — pass them together in subtasks so the parent and its children are created in one call. Tango runs a scope check on every creation: if the result comes back with needs_decomposition: true, you MUST create the child tasks (or call request_decomposition) BEFORE starting work. Do not begin work on a task flagged for decomposition. Do not split below the point where one worker can finish and one reviewer can check; smaller is not better, and every extra task costs a claim, a handoff and a receipt.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| goal | No | What outcome are we after? | |
| role | No | Role tag, e.g. 'coder', 'reviewer'. | |
| type | No | Default 'task'. | |
| title | Yes | ||
| client | No | REQUIRED unless parent_id is set. Name or @handle of the client/workspace. Fuzzy-resolved. | |
| project | No | REQUIRED unless parent_id is set. Name or @handle of the project this task belongs to (e.g. "Website", "Google Ads"). Call list_projects first and ask the human — never invent a project. | |
| sources | No | URLs or references the assignee should read first. | |
| assignee | No | Name, @handle, or email of the assignee. Fuzzy-resolved. | |
| deadline | No | ISO 8601 deadline. | |
| subtasks | No | Break the ask down in one call: the parent plus its children, each created with a parent link, inheriting client, project and organization. Use this whenever the ask has more than one deliverable. | |
| client_id | No | Scope the task to a Tango client (shared workspace). | |
| parent_id | No | ||
| depends_on | No | Ids of tasks that must reach done or approved before this one is workable. Must be in the same organization; cycles are rejected. | |
| project_id | No | Project id, if already known. | |
| approver_id | No | ||
| assignee_id | No | Human user id to assign to. | |
| constraints | No | Limits: budget, style, do-not-touch, deadlines context. | |
| description | No | ||
| estimate_minutes | No | Rough effort in minutes. Anything over 240 is treated as more than one task. | |
| allow_cross_agency | No | Explicit opt-in to assign across agencies. Audited. | |
| assignee_worker_id | No | Worker id to assign to. | |
| definition_of_done | No | Concrete acceptance criteria. |