Search traps by error text
search_trapsCall when a call to a third-party service fails or behaves unexpectedly. Paste the error text. Returns up to 5 verified traps whose symptoms match it, closest first, each with cause and fix. Returns nothing when no trap matches closely. Use lookup_traps instead before writing code.
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": {
"error_text": "<error_text>"
},
"name": "search_traps"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| provider | No | Optional service slug or name to search within, e.g. "stripe". Omit to search every provider. | |
| error_text | Yes | The error message or unexpected output, as shown. Known key and secret formats are redacted before matching. | |
| include_stale | No | Also match traps not re-checked recently. Default false. |