tasks_create
Create a RetailCRM task with text, due date, and assigned manager. Optionally link it to an order or customer and receive the task ID.
Instructions
Create a task (text, due datetime, performer, linked order/customer). Returns {success, id}.
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": {
"text": "<text>"
},
"name": "tasks_create"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| site | No | Site (store) symbolic code. Required on create/edit when the API key is scoped to multiple sites (see list_sites). | |
| text | Yes | Task text / what to do | |
| datetime | No | Due datetime 'YYYY-MM-DD HH:MM:SS' | |
| order_id | No | Link to order RetailCRM ID | |
| commentary | No | Additional commentary | |
| customer_id | No | Link to customer RetailCRM ID | |
| performer_id | No | Assign to manager ID |