list_supported_napcat_actions
Lists supported NapCatQQ OneBot 11 action names by category so you can find the correct action identifier before calling call_napcat_api.
Instructions
查询 NapCatQQ 引擎支持的全部 144+ 个底层 OneBot 11 与扩展 Action 名称分类目录。
适用场景:在准备调用 call_napcat_api 但不确定目标功能的精确 action 英文名称时,先调用本工具按分类查阅。不适用与替代:若所需操作已有直接对应的核心具名工具(如 send_private_msg、send_group_msg、get_group_list 等),则无需查阅本目录;本工具仅返回接口名称清单,真正执行接口调用请使用 call_napcat_api。
参数约束与交互:category 可按功能域筛选子集(如群管选 'group_management',媒体选 'files_and_media',系统与 AI 声聊选 'ai_and_system'),若传入未识别的分类名则自动回退返回 'all' 全量字典。
行为与返回:纯本地静态目录只读查询(无网络请求、无需登录在线、零副作用);当 category='all' 时返回 total_count 与按分类组织的 categories 字典,指定单一分类时返回 count 与 actions 字符串数组。
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_supported_napcat_actions"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| category | No | 接口分类筛选枚举: 'all'(全部 5 大分类)、'messaging'(消息与互动)、'group_management'(群组管理与查询)、'files_and_media'(文件、相册与语音OCR)、'friends_and_account'(好友与个人资料)、'ai_and_system'(系统状态、凭证与AI声聊),默认 'all' | all |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| data | No | 接口返回的业务负载数据(对象或数组,具体字段依工具而定) | |
| status | No | 执行状态标识,成功为 'ok'(或特定生命周期状态),失败为 'failed' 或 'error' | |
| message | No | 状态说明或错误诊断详情 | |
| retcode | No | OneBot 11 响应状态码,0 表示成功,非 0 表示协议端或网络错误 |