get_version_info

get_version_info只读信息

Call via POST http://127.0.0.1:3000/get_version_info (JSON params as the body) or WebSocket.

Parameters

This action takes no parameters.

Returns (data)

实现与协议版本信息。

Every response is wrapped in the standard envelope: { "status": "ok", "retcode": 0, "data": ... }. The table below describes data.

Field Type Required Description
app_name string 实现名称(SnowLuma)
app_version string 实现版本
protocol_version string OneBot 协议版本
Raw JSON Schema
{
  "type": "object",
  "properties": {
    "app_name": {
      "type": "string",
      "description": "实现名称(SnowLuma)"
    },
    "app_version": {
      "type": "string",
      "description": "实现版本"
    },
    "protocol_version": {
      "type": "string",
      "description": "OneBot 协议版本"
    }
  },
  "required": [
    "app_name",
    "app_version",
    "protocol_version"
  ]
}

Examples

curl
Python
JavaScript
Go
SnowLuma SDK
curl -X POST http://127.0.0.1:3000/get_version_info \
  -H 'Content-Type: application/json' \
  -H 'Authorization: Bearer <access-token>' \
  -d '{}'
Using an AI assistant?

MCP-capable clients can discover and call this action directly — no hand-written HTTP. See MCP.