ai-fail_work_item
ai-fail_work_itemMarks a work item as failed by providing an error message, enabling accurate tracking of failed tasks in case management workflows.
Instructions
Marks a work item as failed with an error message.
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": {
"error": "<error>",
"work_item_id": "<work_item_id>"
},
"name": "ai-fail_work_item"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| error | Yes | Error message describing what went wrong | |
| work_item_id | Yes | Work item ID (@rid format) |