Call an API with a stored secret you cannot read
super_secret_useMake one HTTPS request with a pii: secret value from a content collection entry. The platform puts the value into one header and calls the one host a person approved; you get status, headers and body, scrubbed of it. You never see it, in input or result; a response echoing it is withheld whole (secret_echoed). A first request for a field and host answers approval_required with approvalUrl: give the person that link, then repeat the request once they approve. Grants expire, cap uses and can be revoked; every use is logged. The person types the secret into its dashboard entry; super_entries writes one only if they insist on pasting it.
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": {
"collection": "<collection>",
"entry": "<entry>",
"field": "<field>",
"method": "<method>",
"url": "<url>"
},
"name": "super_secret_use"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| url | Yes | https only; its host must be the approved one. Redirects are returned, never followed. | |
| body | No | ≤64 KiB. | |
| entry | Yes | The entry id. | |
| field | Yes | The `pii: secret` field whose value is sent. | |
| header | No | Where the value goes; asked for when no grant exists. The approved grant’s header wins. | |
| method | Yes | ||
| headers | No | Sent as given, except host, authorization, cookie, proxy-* and the grant’s own header. | |
| collection | Yes | Content collection key (a content model), not a gallery label. |