Create task
task_createFile a task in a workspace (workspaceId), or under a task as its child (parentId alone: the parent's workspace), for a person or an agent (assignee), reviewed by a person or an agent (reviewer, never the assignee). Name an agent as agent:, a handle from workspace_load agents. Returns a bounded receipt; task_get retrieves all details.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| due | No | ||
| why | No | Required for workspace items: one sentence on what the person is trying to accomplish, in their terms, not a description of this edit. Every workspace write takes one; sessions and summaries record themselves from it. At most 300 characters. | |
| body | No | ||
| kind | No | ||
| title | Yes | ||
| payload | No | ||
| assignee | No | A person (account id, alias or @alias) or one agent as agent:<handle>, a handle from workspace_load agents; they must be able to edit tasks in the task's audience. | |
| audience | No | Who in the workspace sees it: internal (the default for internal members) or shared (external editors file shared tasks only). | |
| parentId | No | A task this one belongs under; its workspace is the new task's (omit workspaceId). | |
| reviewer | No | Who decides its proposal, never the assignee. A person (account id, alias or @alias) or one agent as agent:<handle>, a handle from workspace_load agents; they must be able to edit tasks in the task's audience. | |
| workspaceId | No | The workspace: name it, or name parentId instead. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| task | Yes |