Request capability / environment promotion
mailbuttons_request_promotionFiles a human-approval request to add capabilities like send_external or promote a sandbox token to production, returning an approval URL without widening token scope.
Instructions
File a human-approval request to grant additional capabilities (e.g. send_external) or promote a sandbox token to production. The token CANNOT widen its own scope; this only opens a request and returns an approval URL.
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": {
"grant_capabilities": "<grant_capabilities>"
},
"name": "mailbuttons_request_promotion"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| inbox_id | No | Optional inbox to scope the requested grant to. | |
| promote_to | No | Request promotion of a sandbox token to production. | |
| grant_capabilities | Yes | Capabilities to request, e.g. send_external, attachments. A token can never widen its own scope — this only files a request. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| status | Yes | Always "pending". | |
| request_id | Yes | ||
| approval_url | Yes |