add_tasks
Add multiple tasks to a goal with hierarchical structure. Use parentId for existing task children. Transactional batch operation ensures all tasks succeed or fail together.
Instructions
Add multiple tasks to a goal. Tasks can be provided in a hierarchical structure. For tasks that are children of existing tasks, use the parentId field. The operation is transactional: either all tasks in the batch succeed, or the entire operation fails.
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": {
"goalId": "<goalId>",
"tasks": "<tasks>"
},
"name": "add_tasks"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| goalId | Yes | ID of the goal to add tasks to (number) | |
| tasks | Yes | An array of task objects to be added. Each task can define nested subtasks. |