request_with_secret
Call APIs with {{handle}} replaced server-side by the real secret, keeping keys out of prompts, shell commands, and logs; responses are scrubbed before return.
Instructions
Call an API, substituting {{handle}} with the real secret server-side.
Use this instead of writing the key into a shell command or curl. The key is injected here, outside the conversation, and the response is scrubbed before it comes back.
Args: method: GET, POST, PUT, PATCH, DELETE. url: full URL; {{handle}} is allowed in the path or query. headers: e.g. {"Authorization": "Bearer {{stripe}}"}. body: request body; {{handle}} is substituted.
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": {
"method": "<method>",
"url": "<url>"
},
"name": "request_with_secret"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| url | Yes | ||
| body | No | ||
| method | Yes | ||
| headers | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |