Write through a secret
use_secret_writeSend a POST, PUT, PATCH or DELETE 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_write"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| url | Yes | The URL to send the HTTP request to | |
| body | No | JSON request body (for POST/PUT/PATCH) | |
| method | No | HTTP method (default: POST). For GET/HEAD use use_secret. | |
| 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. DEPLOY_API_KEY) | |
| extra_headers | No | Additional headers (e.g. {"Content-Type": "application/json"}) | |
| header_prefix | No | Prefix before the secret value (default: 'Bearer '). Use empty string for raw value. |