request_access
Ask the owner to approve a policy-gated API call or add an allowed host for a secret, then wait briefly for their decision. Use when a call is blocked by approval or host restrictions.
Instructions
Ask the owner to approve a request that policy gates behind approval (for example POST /v1/refunds), or to allow a host the secret is not yet locked to (pass upstream). Waits briefly for a decision. If the policy denies the path outright, the owner must change the policy; this tool will say so.
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": {
"secret": "<secret>",
"reason": "<reason>"
},
"name": "request_access"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| scope | No | "METHOD /path" you want approved, e.g. "POST /v1/refunds" | |
| reason | Yes | ||
| secret | Yes | ||
| upstream | No | a host the call was refused for (host_not_allowed): https://host; approval adds it to the secret's allowed hosts |