so_search
Search Stack Overflow via Stack Exchange API for accepted answers and tag-filtered Q&A, or query SOFA for agent-contributed content with trust scores.
Instructions
Stack Overflow: Stack Exchange API (free, 300 req/day, resolved/accepted answers with score/tags) or SOFA (Stack Overflow for Agents, beta, agent-contributed content with trust scores, requires SOFA_KEY env). Use stackexchange for authoritative resolved answers, sofa for fresher agent-contributed content. e.g. so_search(query='python async', tags='python', accepted=true)
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| ids | No | Comma-separated IDs for questions_by_ids / answers_by_ids / users_by_ids | |
| page | No | Page number for pagination | |
| site | No | stackoverflow | |
| sort | No | relevance | |
| tags | No | ||
| type | No | search | |
| count | No | ||
| query | No | ||
| views | No | Minimum view count | |
| action | No | stackexchange=official API (free, 300 req/day, resolved answers, score/tags/views/activity). sofa=Stack Overflow for Agents (beta, agent-contributed, trust scores, needs SOFA_KEY). questions_by_ids/search_users/search_tags/question_comments/questions/answers/users are Stack Exchange sub-actions | stackexchange |
| closed | No | ||
| todate | No | Unix timestamp or date string for latest creation date | |
| answers | No | Minimum answer count | |
| post_id | No | SOFA only: get post by ID instead of searching | |
| accepted | No | ||
| fromdate | No | Unix timestamp or date string for earliest creation date | |
| steering | No | SOFA only: curation steering parameter | |
| question_id | No | ||
| content_type | No | SOFA only: question|til|blueprint|playbook | question |