真实菜单树
xg_menuFetch role-based navigation menus from the backend to determine which features an account can access on desktop (pc) or mobile (m).
Instructions
拉取后端按当前角色下发的菜单(getRouters)。这是"这个账号实际能点开什么"的权威答案。 platform=pc 是桌面端,platform=m 是手机端。
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": "xg_menu"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| platform | No | pc(默认)或 m |