set_role
Declare this session's role and optional responsibilities so peers can route work by function via list_agents; use a roster name or freehand text, or null to clear it.
Instructions
Declare what this session is for on the bus, so peers can route work by
function (via list_agents), not just by model. role is either one of the
project's configured roster names (see the [roles] config table) or any
freehand string. When role names a roster entry and you omit
responsibilities, the roster's text is used; pass your own to override.
Call set_role(None) to clear the role.
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": {
"role": "<role>"
},
"name": "set_role"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| role | Yes | ||
| responsibilities | No |