Create work
create_workCreate a Work in a Batch that is not ready. It always starts planned; begin_work starts it. In a workflow run, the Batch plan with the new Work is checked against the rulesets on the connection the run entered Batch on, until one of its Works is done; a Must rule that does not pass refuses the write. Inside a workflow run, rules are checked by TypeSafe, a separate provider, which receives the record, the text of each Rule, and the project context a Rule refers to.
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>",
"batchId": "<batchId>",
"title": "<title>",
"size": "<size>"
},
"name": "create_work"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| size | Yes | Work size. | |
| title | Yes | Work title. | |
| labels | No | Labels on the Work. | |
| batchId | Yes | Id of the Batch. | |
| projectId | Yes | Id of the Project. | |
| requestId | No | Optional unique ID for this create. After a timeout, retry with the same requestId and arguments: the record already created is returned instead of a duplicate. | |
| description | No | What changes and where. |