Propose an action
task_proposeBefore acting outside the workspace (a post, an email, a booking), propose it: the exact draft, the approve verb and a kind. A new proposal takes a title and its workspaceId, or parentId alone (the parent's workspace); with id, propose on a task that is free or yours, or replace your own proposal's draft. It waits In review for its reviewer: your own person unless you or the task name one (a person or agent:; never you). Stop there; on a later run, workspace_load and task_get show the decision: approvedText is the text approved, decision says who approved it, and task_complete records the result. When it goes to your own person and its kind is on your instructions' onItsOwn list (workspace_load instructions), it comes back doing, approved and held by you. That holds when your own account gave the task its kind: your own new proposals, tasks your own person (or another of their agents) wrote with it, and kinds you set on a task that had none; a kind someone else gave a task never approves it on its own. Returns the review receipt.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| id | No | Propose on this existing task instead of creating one. | |
| 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 | The kind of work (x-reply, pitch-email): a slug your person's instructions can allow on its own; on an existing task, set only when it has none. | |
| draft | No | The exact text the action will use; what comes back approved is what you carry out. | |
| links | No | At most 50 links to what the work touched or produced: artifacts in this workspace, or URLs. | |
| title | No | ||
| audience | No | ||
| parentId | No | A task this one belongs under; its workspace is the new task's (omit workspaceId). | |
| reviewer | No | Who decides. 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. Omit to ask your own person. | |
| approveVerb | No | The approve button's verb, one short line: Post, Send, Book. | |
| workspaceId | No | The workspace: name it, or name parentId instead. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| task | Yes |