Create organization token
create_org_tokenRequires sign-in (scope orgs:tokens). Create an organization-owned API token with role admin or read (never wider than your own), optional expiresAt (ISO time). Shown once.
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": {
"org": "<org>",
"name": "<name>",
"role": "<role>"
},
"name": "create_org_token"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| org | Yes | organization slug | |
| name | Yes | display name | |
| role | Yes | role in the organization: admin or read | |
| tags | No | free labels to group items (for example the app or environment) | |
| expiresAt | No | ISO 8601 time when the token stops working; optional |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes | The result of the call: the same JSON the REST API returns for this operation (docs/api, the OpenAPI document), or null when there is nothing to return. |