Read an MCP gateway's logs
list_gateway_logsRecent calls to the gateway, newest first: tool, outcome, HTTP status, error and time. Pass log_id for one call with its request and response excerpt (secrets redacted). Use it when a tool fails.
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": {
"gateway_id": "<gateway_id>"
},
"name": "list_gateway_logs"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| tool | No | ||
| limit | No | How many to return (default 20). | |
| log_id | No | ||
| outcome | No | ||
| gateway_id | Yes |