create_group_file_folder

create_group_file_folder写操作群文件
创建群文件夹

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

Parameters

Param Type Required Default Description
group_id uint 群号
name string
parent_id string "/"

Returns (data)

{ result: { retCode, retMsg }, groupItem: { folderInfo: { folderId, folderName, folderPath, createTime, modifyTime, createUin, modifyUin } } }

Returns the standard OneBot envelope; the data shape is not yet documented.

Examples

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

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