Look up traps for a provider
lookup_trapsCall before writing code against a third-party API, platform, or AI tool. Returns up to 10 verified, dated failure modes for that provider, each with symptoms, cause, fix, a code example and the date it was last checked. Use search_traps instead when you already have an error message.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| context | No | Optional one-line description of the task, e.g. "verify webhook signatures in Next.js". Ranks the most relevant traps first. | |
| surface | No | Optional part of the service you are working on, e.g. "webhooks" or "image generation". Ranks matching traps first; never filters others out. | |
| provider | Yes | The service, by slug or common name, e.g. "stripe", "supabase", "github-actions", "openai api". | |
| include_stale | No | Also return traps not re-checked recently. Default false. |