create_task
Add one task to an existing project in the connected LoopGantt ACCOUNT (requires a LoopGantt API key). Put it under a phase with parentId, make it wait for other tasks with dependencies, and hand it to a person with assigneeId or to a bot with agentLabel (e.g. "qa-bot"). Returns the new task id.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"projectId": "<projectId>",
"name": "<name>"
},
"name": "create_task"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | Yes | ||
| status | No | Workflow stage id - use one of the project's stage ids (list_projects shows each project's stages; any other value is stored as sent, shown in the board's first column, and warned about), e.g. not_started, in_progress, on_hold, completed, or todo, in_progress, blocked, waiting_approval, done on an agent board. Prefer complete_task for 'done'. Default: the first stage. | |
| isPhase | No | Make it a phase that groups other tasks | |
| deadline | No | Finish-by date YYYY-MM-DD (a marker, not a constraint) | |
| parentId | No | Phase task id to put this task under | |
| priority | No | ||
| projectId | Yes | Project id from list_projects | |
| agentLabel | No | The bot (agent) that owns this task, e.g. "qa-bot" (1-64 characters) - so a team of agents can split one board. Use your own stable name. assigneeId is for a real PERSON; leave it alone unless a human should own the task. | |
| assigneeId | No | User id of the project owner or an accepted member (a real person) | |
| plannedEnd | No | YYYY-MM-DD | |
| description | No | ||
| isMilestone | No | ||
| dependencies | No | Tasks (same project, not phases) this one waits for | |
| durationDays | No | Working days; 0 makes it a milestone | |
| plannedStart | No | YYYY-MM-DD |