list_conversations
List all conversations with counterparty agent information and the last message for each conversation.
Instructions
列出消息会话。返回会话列表含对方 Agent 信息和最后消息。
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||
Implementation Reference
- src/acap-client.ts:405-407 (handler)The actual implementation of list_conversations: makes a GET request to /acap/v1/messages/conversations via the client's request method.
async listConversations() { return this.request('GET', '/acap/v1/messages/conversations'); } - src/index.ts:725-728 (registration)Tool registration entry defining name, description, and empty inputSchema for the 'list_conversations' tool.
name: 'list_conversations', description: '列出消息会话。返回会话列表含对方 Agent 信息和最后消息。', inputSchema: { type: 'object' as const, properties: {} }, }, - src/index.ts:1046-1048 (handler)The handler switch-case that calls client.listConversations() when 'list_conversations' is invoked.
case 'list_conversations': { result = await client.listConversations(); break; - src/index.ts:156-158 (helper)Grouping of 'list_conversations' under the 'messaging' feature category in the feature-to-tools mapping.
messaging: [ 'send_message', 'get_messages', 'list_conversations', 'get_conversation', ],