mcp-server-asana

asana_set_parent_for_task

Set the parent of a task and position the subtask within the other subtasks of that parent

Input Schema

NameRequiredDescriptionDefault
dataYes
optsNo
task_idYesThe task ID to operate on

Input Schema (JSON Schema)

{ "properties": { "data": { "insert_after": { "description": "A subtask of the parent to insert the task after, or null to insert at the beginning of the list. Cannot be used with insert_before. The task must already be set as a subtask of that parent.", "type": "string" }, "insert_before": { "description": "A subtask of the parent to insert the task before, or null to insert at the end of the list. Cannot be used with insert_after. The task must already be set as a subtask of that parent.", "type": "string" }, "parent": { "description": "The GID of the new parent of the task, or null for no parent", "required": true, "type": "string" } }, "opts": { "opt_fields": { "description": "Comma-separated list of optional fields to include", "type": "string" } }, "task_id": { "description": "The task ID to operate on", "type": "string" } }, "required": [ "task_id", "data" ], "type": "object" }