set_role
Set a session role to restrict document access and receive the domains available for that role.
Instructions
Set the active role for this MCP session. Returns the domains the role can access.
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 |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |