Read through a secret
use_secretSend a GET or HEAD request with a secret injected as a header, and return the response.
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": {
"playbook_id": "<playbook_id>",
"secret_name": "<secret_name>",
"url": "<url>"
},
"name": "use_secret"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| url | Yes | The URL to send the HTTP request to | |
| method | No | HTTP method (default: GET). For POST/PUT/PATCH/DELETE use use_secret_write. | |
| timeout_ms | No | Request timeout in milliseconds (default: 30000, max: 60000) | |
| header_name | No | Header name to inject the secret into (default: Authorization) | |
| playbook_id | Yes | UUID or GUID of the target playbook | |
| secret_name | Yes | Name of the secret to use (e.g. OPENAI_API_KEY) | |
| extra_headers | No | Additional headers (e.g. {"Accept": "application/json"}) | |
| header_prefix | No | Prefix before the secret value (default: 'Bearer '). Use empty string for raw value. |