Update Task Document
update_task_documentUse this when working with RetailHardHat documents records in the connected organization. Edit task document metadata; cannot replace its storage identity. No change occurs until a human approves the exact request in Settings > MCP and execute_approved_action is called. MCP approval requirements are configurable by the organization administrator; business workflow approvals always apply.
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": {
"taskId": "<taskId>",
"documentId": "<documentId>",
"data": "<data>"
},
"name": "update_task_document"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| data | Yes | ||
| taskId | Yes | ||
| documentId | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| data | Yes |