add_item
Add a work item to the open goal, deduplicated by external reference so the same email or issue is never added twice. Route proposed actions to human approval, record completed auto actions, or refuse off categories.
Instructions
Add a work item to the open goal. Always pass external_ref for things that come from outside (an email, an issue) so the same thing is never added twice — an existing item is returned instead. With an action: "propose" categories create an item that waits for human approval (do not act until approved), "auto" categories record an action you already took (or, once the run has read untrusted content such as mail or a web page, propose it instead), "off" categories are refused.
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": {
"goal": "<goal>"
},
"name": "add_item"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| goal | Yes | Short description of the work item, e.g. "Reply to Alice about Thursday" | |
| notes | No | ||
| action | No | An action this item is about. "propose" categories create an item that waits for human approval; "auto" categories record an action you already took; "off" categories are refused. | |
| result | No | For auto actions: what you did | |
| status | No | For items without an action (default pending) | |
| run_scope | No | A goal run passes its run id here; anyone else leaves it out. | |
| ask_person | No | true: this item asks the person for something only they can give or do (a choice, details, connecting a service, allowing a site). It waits under Needs you and alerts them; their answer arrives as memory. Keep goal to the short question and put what they need to answer it (the options, what you would do and why) in notes: the Goals pane shows notes under the question. With an action too, their answer (or Done) also approves that action, as approving a proposal does: it shows approved_to_execute, so carry it out as the answer says (doing nothing if the answer asks for nothing), then complete the item. | |
| external_ref | No | Stable ID of the thing this is about, e.g. "gmail:18c2f…". If an item with this ref already exists it is returned instead of creating a duplicate. |