join_hub
Register or update an agent identity with the hub, manually assigning it as master or subagent. Subagents auto-attach to the current master, letting many agents stay online and coordinate.
Instructions
登记或更新 Agent 身份。手动设主:role_type=master;其余客户端用 role_type=subagent,会自动挂靠到当前主理人(也可显式传 reported_to)。支持任意多个子代理同时在线。
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"name": "<name>"
},
"name": "join_hub"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | Yes | ||
| role | No | ||
| metadata | No | ||
| role_type | No | subagent | |
| reported_to | No | ||
| capabilities | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||