gateway_update
Seller side: change the name, description, price or upstream of one of your gateway endpoints. Only the fields you pass change. REQUIRES OPERATOR KEY.
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": {
"endpoint_id": "<endpoint_id>"
},
"name": "gateway_update"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | No | New public name, for example Weather Forecast API | |
| price_sats | No | New price per call in satoshis (sats, not msats), integer 1 or more, for example 50 | |
| description | No | New description of what buyers get for each paid call | |
| endpoint_id | Yes | Gateway endpoint id (integer) from gateway_list, for example 12 | |
| upstream_url | No | Public https URL of the endpoint to sell, for example https://api.example.com/v1/data. Private and localhost addresses are refused | |
| upstream_method | No | HTTP method used to call your upstream URL. Default GET | |
| upstream_headers | No | Extra HTTP headers sent to your upstream, as a JSON object of header name to value, for example {"X-Api-Key": "secret"}. Replaces the existing headers | |
| upstream_timeout_ms | No | Upstream timeout in milliseconds, 1000 to 30000, for example 10000 |