list_messages
Retrieves messages from a Huly channel or direct message by space ID, with an optional limit, so agents can review conversation history and context.
Instructions
List messages in a channel or direct message
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": {
"spaceId": "<spaceId>"
},
"name": "list_messages"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| limit | No | ||
| spaceId | Yes | Channel or direct-message _id | |
| workspace | No |