oto_admin_set_option
[super admin] Set (on=true) or remove (on=false) a NON-billed option flag on a user or org (e.g. option='beta', 'claude_subscription'). Read by access.has_option. entity_type='user'|'org', entity_id=sub|org_id. A key of the entitlements catalogue ('unipile', 'platform_unmetered', 'unipile_seats', 'members_max', 'platform_key:') is REFUSED with 409 billing_moved: those are declared rights, set by the billing service (oto-commerce) only — offering one happens there, not here. For a platform-mode connector this ALSO grants/revokes its platform key (so the option is actually usable, not a dead has_option without a key); the platform_key field reports what happened (granted / no_platform_key / byo_inert / revoked); a connector whose grant requires a quota is refused with grant_quota_required (grant its key with daily_quota instead). An option can also GATE tools (e.g. 'beta'), and a tool list is computed at handshake: visible_next_session: true means the change lands on a session other than yours and shows up when its owner reconnects — false means your own tool list was just refreshed. Neither is a failure. expires_at bounds the gift ('YYYY-MM-DD' = end of that day UTC, so the date itself is still covered; ISO timestamp also accepted). OMITTED leaves any existing deadline UNTOUCHED — re-granting never silently clears one; empty string makes the gift open-ended. Past the deadline the option stops being granted, the row stays, and clearing the date reopens it. Refused with 409 partner_org_out_of_scope on an org hosted by a third-party tenant: its owners are that partner's customers, not ours.
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": {
"entity_type": "<entity_type>",
"entity_id": "<entity_id>",
"option": "<option>",
"on": "<on>"
},
"name": "oto_admin_set_option"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| on | Yes | ||
| _org | No | ||
| option | Yes | ||
| entity_id | Yes | ||
| expires_at | No | ||
| entity_type | Yes |