attenuate_token
Derive a restricted API token from your current grant by specifying a subset of capabilities and an optional expiry that cannot exceed the parent token's lifetime. Returns the new secret once.
Instructions
Derive a weaker API token from the caller's grant without token:admin (Levy/Madden attenuation). capabilities must be a non-empty subset of what the caller holds. A derived expires_at cannot outlive the parent bearer. Returns the new token secret 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": {
"capabilities": "<capabilities>"
},
"name": "attenuate_token"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| label | No | ||
| expires_at | No | ||
| capabilities | Yes |