Request headers
Common error codes
| Code | Meaning |
|---|---|
-32600 | Invalid JSON-RPC request |
-32601 | Method not found |
-32602 | Invalid params (e.g. missing tool name) |
-32000 | Internal gateway error |
tools/list
Returns metadata for every tool registered with Bridger.Request
Response 200
tools/call
Runs a single tool.Request
Response 200
| Field | Description |
|---|---|
result.tool | Called tool name |
result.upstream.method | Upstream HTTP method |
result.upstream.url | Final upstream URL (after middleware injection such as ServiceKey) |
result.upstream.status | Upstream HTTP status code |
result.data | Upstream response body (after XML→JSON normalization) |
result.cacheStatus | Whether the cache was hit (HIT/MISS, etc.) |
result.auditId | Audit-log identifier for this call |
Full cURL examples
Automatic public-data middleware behavior
When calling a tool from a preset withisPublicData=true, the following are applied automatically.
- ServiceKey injection (
PUBLIC_DATA_SERVICE_KEY) lat/lon→nx/nygrid coordinate conversion (KMA DFS)- XML/JSON payload normalization
- Public-data error code → human-readable message mapping
| Code | Message |
|---|---|
00 | OK |
30 | Unregistered service key |
31 | Expired service key |
32 | Unregistered IP |
| other | Unknown public-data error (<code>) |