List Gestoria Messages
gestoria_messages_listRetrieve messages from a gestor-cliente thread, newest first, with pagination using a cursor for efficient history browsing.
Instructions
List messages in a contextual gestor/cliente thread, newest first. Use before (message ID or ISO timestamp) to paginate backwards through history. Returns up to limit messages plus a hasMore flag so the agent knows when to stop. / Lista los mensajes de un hilo gestor/cliente, mas recientes primero. Usa before (ID o fecha) para paginar hacia atras. Devuelve hasta limit mensajes con flag hasMore.
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": {
"workspaceId": "<workspaceId>",
"parentType": "<parentType>",
"parentId": "<parentId>"
},
"name": "gestoria_messages_list"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| limit | No | Max messages to return (1-100, default 50) / Mensajes maximos | |
| before | No | Cursor: messages older than this (message ID or ISO date) / Cursor: mensajes anteriores a este | |
| parentId | Yes | ID of the parent entity / ID de la entidad padre | |
| parentType | Yes | Thread parent kind / Tipo de hilo: documentRequest (solicitud de documento), filingItem (presentacion fiscal), obligation (obligacion fiscal) | |
| workspaceId | Yes | Client workspace ID / ID del espacio de trabajo |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| hasMore | Yes | ||
| messages | Yes |