set_headers
Replace custom HTTP headers for API keys, tenant IDs, and trace IDs. Pass an empty object to clear all headers.
Instructions
Replace the full set of custom HTTP headers. Use this for X-API-Key, X-Tenant, X-Trace-Id, etc. Authorization is handled separately by set_auth_token / set_basic_auth and will be re-applied on top of these headers. Pass an empty object to clear all custom headers.
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": {
"headers": "<headers>"
},
"name": "set_headers"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| headers | Yes | Headers to send with every request. Replaces the existing set. Common: { 'X-API-Key': '...', 'X-Tenant': '...' } |