comments
Manage object notes on leads, orders, clients, or deals: list, add, edit, or delete entries with pagination in KeyCRM.
Instructions
Object comments (коментарі): list, add, edit, delete.
entity_type: lead, order, client or deal; entity_id is the CRM id of that object. Actions: list - comments of the object, paginated add - message required (or pass a full body in data) edit - comment_id required, new message or data body delete - comment_id required (the CRM keeps a soft-deleted flag)
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "comments"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| data | No | ||
| page | No | ||
| tone | No | normal | |
| limit | No | ||
| action | No | list | |
| message | No | ||
| entity_id | No | ||
| comment_id | No | ||
| entity_type | No | lead |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |