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.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| headers | Yes | Headers to send with every request. Replaces the existing set. Common: { 'X-API-Key': '...', 'X-Tenant': '...' } |