Stack Overflow / Stack Exchange question search
search_stackoverflowSearch Stack Overflow (or any Stack Exchange site: serverfault, superuser, ethereum, math…) for questions matching an error message or problem. Filter by tags and answered-only; sort by relevance, votes, newest or activity. Returns title, link, tags, score, answer count, accepted-answer link, views, author and dates. Use when a coding agent hits an error and needs proven fixes. Price: $0.002 per call (USDC on Base via x402); the first 10 calls per day are free.
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": {
"query": "<query>"
},
"name": "search_stackoverflow"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| site | No | Stack Exchange site (default stackoverflow) | |
| sort | No | relevance (default), votes, newest or activity | |
| tags | No | Optional tags, comma-separated, e.g. python,pandas | |
| limit | No | Results 1–30 (default 10) | |
| query | Yes | Error message or problem, e.g. viem contract reverted | |
| answered | No | true = only questions with an accepted answer |