create_token
Creates a personal access token for Purgatory (p7y) access, optionally scoped to one sandbox with 30-day, 90-day, or no expiry; the token is shown once.
Instructions
Create a personal access token (shown once) HTTP POST /tokens
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": {
"name": "<name>"
},
"name": "create_token"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | Yes | ||
| sandbox | No | Limit the token to this one of your sandboxes (full name) | |
| expires_in | No | 90d |