Set authorization mode
set_token_modeWorkspace owners can restrict one authorization to sandbox mode or restore normal mode. Sandbox authorizations can only read and edit their own private pages and folders. List credentials and ask the user first; confirm must exactly repeat the target prefix. The authorization remains valid.
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": {
"token_id": "<token_id>",
"mode": "<mode>",
"confirm": "<confirm>"
},
"name": "set_token_mode"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| mode | Yes | ||
| confirm | Yes | ||
| token_id | Yes |