Change hub agents
agents_opHub agent changes from the widget. Internal to the Beringio widget: never call it yourself.
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": {
"op": "<op>"
},
"name": "agents_op"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| op | Yes | create, update, rotate, pause, resume, delete, test, add, set or remove | |
| hub | No | hub key (add, set, remove in a hub) | |
| kind | No | create: webhook (default) or claude (Claude Managed Agent) | |
| name | No | agent name | |
| agent | No | agent id | |
| api_key | No | claude: the owner's Anthropic API key | |
| callers | No | who can call (call_policy list): member ids | |
| endpoint | No | agent webhook address | |
| claude_env | No | claude: env_… id | |
| call_policy | No | who can call: admins, members or list | |
| claude_agent | No | claude: agent_… id | |
| send_context | No | how many earlier messages to send, 0–20 |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| ok | Yes | ||
| test | No | ||
| agent | No |