List comments
list_commentsRead the comments on exactly ONE of an item, a ticket or an order (the same one-target shape add_comment takes). Newest first, capped at 50 (truncated says the cap was hit). Each comment carries authorName, the text, createdAt with its UTC ISO twin createdAtIso (the server does no timezone conversion), and editedAt when it was changed after posting. viaAgent: true marks a comment an AI agent wrote on that person's behalf, including comments written through this connection; without it the person typed it themselves. The comments are the ones the connected user sees in the app: order comments require being an order participant (requester, assignee or an order manager).
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": "list_comments"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| itemId | No | Item id (exactly one target) | |
| orderId | No | Order id (exactly one target), from list_orders | |
| ticketId | No | Ticket id (exactly one target), from list_tickets |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| target | No | "item", "ticket" or "order" | |
| comments | No | The comments, newest first | |
| truncated | No | The 50-comment cap was hit — older comments exist in the app |