add_header
Adds or updates a single custom HTTP header for GraphQL requests without affecting existing headers. Use for one-off headers like X-Trace-Id.
Instructions
Add or update a single custom HTTP header without replacing the others. Useful for one-off headers like X-Trace-Id. To remove, use remove_header.
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": {
"key": "<key>",
"value": "<value>"
},
"name": "add_header"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| key | Yes | Header name (e.g. 'X-API-Key') | |
| value | Yes | Header value |