> ## Documentation Index
> Fetch the complete documentation index at: https://docs.boxd.sh/llms.txt
> Use this file to discover all available pages before exploring further.

# Stack Exchange

> Stack Exchange is a network of Q&A communities where users ask questions, share knowledge, and collaborate on topics like coding, math, and more

Stack Exchange is a network of Q\&A communities where users ask questions, share knowledge, and collaborate on topics like coding, math, and more

`stack-exchange` · **121 tools** · no triggers

## Connect it

```bash theme={"theme":"github-dark"}
run auth stack-exchange
run auth stack-exchange --scope team    # shared with the organization
```

Or from the [Integrations page](https://app.boxd.sh/integrations) in the console. See [Connections](/guides/integrations/connections) for personal versus shared, and who may remove one.

## Use it

```bash theme={"theme":"github-dark"}
run stack-exchange          # common commands
run stack-exchange --all    # every command
```

```ts theme={"theme":"github-dark"}
import { stackExchange } from "@boxd/run";
```

## Common tools

| Tool                       | What it does                                                                                                                                             |
| -------------------------- | -------------------------------------------------------------------------------------------------------------------------------------------------------- |
| `create-filter`            | Tool to create a custom filter for Stack Exchange API responses.                                                                                         |
| `find-similar-questions`   | Tool to find questions similar to a hypothetical one based on a title and optional tag combination.                                                      |
| `get-answers-by-ids`       | Tool to retrieve a set of answers by their IDs from a Stack Exchange site.                                                                               |
| `get-collective-questions` | Tool to retrieve questions associated with the specified collective.                                                                                     |
| `get-collectives`          | Tool to retrieve all collectives on a Stack Exchange site in alphabetical order.                                                                         |
| `get-collective-tags`      | Retrieve tags associated with specified Stack Overflow collectives.                                                                                      |
| `get-comment-flag-options` | Tool to fetch valid flag options for a given comment. Use when you need to know which flags a user can raise before submitting.                          |
| `get-comments`             | Retrieves comments from a Stack Exchange site (e.g., Stack Overflow, Super User, Server Fault).                                                          |
| `get-me`                   | Tool to retrieve the authenticated user's profile information from Stack Exchange.                                                                       |
| `get-my-mentions`          | Tool to retrieve comments mentioning the authenticated user on a Stack Exchange site.                                                                    |
| `get-my-posts`             | Tool to retrieve posts (questions and answers) owned by the authenticated user from a Stack Exchange site.                                               |
| `get-my-questions`         | Tool to retrieve questions owned by the authenticated user on a Stack Exchange site.                                                                     |
| `get-my-reputation`        | Tool to retrieve reputation changes for the authenticated user on a Stack Exchange site.                                                                 |
| `get-posts-by-ids`         | Tool to retrieve a set of posts by their IDs from a Stack Exchange site.                                                                                 |
| `get-question-answers`     | Tool to retrieve all answers for a set of questions identified by their IDs.                                                                             |
| `get-question-comments`    | Tool to retrieve comments on a set of questions from Stack Exchange.                                                                                     |
| `get-questions`            | Tool to retrieve a list of questions from a Stack Exchange site without requiring tags or keywords.                                                      |
| `get-questions-by-ids`     | Tool to retrieve a set of questions by their IDs from a Stack Exchange site.                                                                             |
| `get-revisions-by-ids`     | Tool to retrieve revisions for specific posts by their IDs. Use when you need to examine the edit history of posts by providing semicolon-delimited IDs. |
| `get-search-results`       | Tool to search the site for questions meeting certain criteria.                                                                                          |
| `get-sites`                | Retrieves a comprehensive list of all Stack Exchange network sites with detailed information including site names, URLs, styling, and...                 |
| `get-tag-info`             | Tool to retrieve tag objects representing specified tags on a Stack Exchange site.                                                                       |
| `get-users-by-ids`         | Tool to retrieve user profiles by their IDs from a Stack Exchange site.                                                                                  |
| `list-answers`             | Tool to retrieve all undeleted answers from a Stack Exchange site.                                                                                       |
| `list-badges`              | Tool to retrieve all badges available in a Stack Exchange site.                                                                                          |

<Accordion title="All 121 tools" icon="list">
  | Tool                                | What it does                                                                                                                                                       |
  | ----------------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------ |
  | `create-filter`                     | Tool to create a custom filter for Stack Exchange API responses.                                                                                                   |
  | `find-similar-questions`            | Tool to find questions similar to a hypothetical one based on a title and optional tag combination.                                                                |
  | `get-access-tokens`                 | Tool to read the properties for a set of access tokens obtained via OAuth 2.0.                                                                                     |
  | `get-answer-comments`               | Tool to retrieve comments on a set of answers from Stack Exchange.                                                                                                 |
  | `get-answer-flag-options`           | Tool to fetch valid flag options for a specific answer. Returns flags that the authenticated user can create for the answer.                                       |
  | `get-answers-by-ids`                | Tool to retrieve a set of answers by their IDs from a Stack Exchange site.                                                                                         |
  | `get-badge-recipients-by-ids`       | Tool to retrieve recently awarded badges constrained to a specific set of badge IDs.                                                                               |
  | `get-badges-by-ids`                 | Tool to retrieve badges by their IDs on a Stack Exchange site.                                                                                                     |
  | `get-collective-answers`            | Tool to retrieve answers belonging to the specified collective(s) on a Stack Exchange site.                                                                        |
  | `get-collective-questions`          | Tool to retrieve questions associated with the specified collective.                                                                                               |
  | `get-collectives`                   | Tool to retrieve all collectives on a Stack Exchange site in alphabetical order.                                                                                   |
  | `get-collectives-by-slugs`          | Tool to retrieve Collective objects by their slugs from a Stack Exchange site.                                                                                     |
  | `get-collective-tags`               | Retrieve tags associated with specified Stack Overflow collectives.                                                                                                |
  | `get-collective-users`              | Tool to retrieve users who are members of the specified Collectives on Stack Exchange.                                                                             |
  | `get-comment-flag-options`          | Tool to fetch valid flag options for a given comment. Use when you need to know which flags a user can raise before submitting.                                    |
  | `get-comments`                      | Retrieves comments from a Stack Exchange site (e.g., Stack Overflow, Super User, Server Fault).                                                                    |
  | `get-comments-by-ids`               | Tool to retrieve specific comments by their IDs from a Stack Exchange site.                                                                                        |
  | `get-events`                        | Retrieves a stream of recent events that occurred on a Stack Exchange site.                                                                                        |
  | `get-filters-by-ids`                | Tool to retrieve the fields included by the given filters and the safeness of those filters.                                                                       |
  | `get-linked-questions`              | Tool to get questions which link to those questions identified in the ids parameter.                                                                               |
  | `get-me`                            | Tool to retrieve the authenticated user's profile information from Stack Exchange.                                                                                 |
  | `get-my-achievements`               | Retrieves the authenticated user's recent network-wide achievements across all Stack Exchange sites.                                                               |
  | `get-my-associated-accounts`        | Tool to retrieve all Stack Exchange accounts associated with the authenticated user.                                                                               |
  | `get-my-featured-questions`         | Tool to retrieve questions with active bounties offered by the authenticated user.                                                                                 |
  | `get-my-mentions`                   | Tool to retrieve comments mentioning the authenticated user on a Stack Exchange site.                                                                              |
  | `get-my-merge-history`              | Tool to retrieve account merge history for the authenticated user.                                                                                                 |
  | `get-my-network-activity`           | Tool to retrieve a summary of the authenticated user's activity across the Stack Exchange network.                                                                 |
  | `get-my-no-answer-questions`        | Tool to retrieve questions owned by the authenticated user that have no answers.                                                                                   |
  | `get-my-posts`                      | Tool to retrieve posts (questions and answers) owned by the authenticated user from a Stack Exchange site.                                                         |
  | `get-my-privileges`                 | Tool to retrieve privileges for the authenticated user on a Stack Exchange site.                                                                                   |
  | `get-my-questions`                  | Tool to retrieve questions owned by the authenticated user on a Stack Exchange site.                                                                               |
  | `get-my-reputation`                 | Tool to retrieve reputation changes for the authenticated user on a Stack Exchange site.                                                                           |
  | `get-my-reputation-history`         | Tool to retrieve the authenticated user's public reputation history on a Stack Exchange site.                                                                      |
  | `get-my-suggested-edits`            | Tool to retrieve suggested edits submitted by the authenticated user on a Stack Exchange site.                                                                     |
  | `get-my-tag-preferences`            | Tool to retrieve tag preferences for the authenticated user on a Stack Exchange site.                                                                              |
  | `get-my-tags`                       | Tool to retrieve tags the authenticated user is active in on a Stack Exchange site.                                                                                |
  | `get-my-timeline`                   | Tool to retrieve a timeline of actions the authenticated user has taken on a Stack Exchange site.                                                                  |
  | `get-my-top-answers-in-tags`        | Tool to retrieve the top 30 answers the authenticated user has posted in response to questions with specific tags.                                                 |
  | `get-my-top-answer-tags`            | Tool to retrieve the authenticated user's top 30 tags by answer score on a Stack Exchange site.                                                                    |
  | `get-my-top-questions-in-tags`      | Tool to retrieve the top 30 questions the authenticated user has posted in response to questions with the given tags.                                              |
  | `get-my-top-question-tags`          | Tool to retrieve the authenticated user's top 30 tags by question score on a Stack Exchange site.                                                                  |
  | `get-my-top-tags`                   | Tool to retrieve the authenticated user's top 30 tags by combined question and answer score on a Stack Exchange site.                                              |
  | `get-my-unaccepted-questions`       | Tool to retrieve questions owned by the authenticated user that have no accepted answer.                                                                           |
  | `get-my-unanswered-questions`       | Tool to retrieve questions owned by the authenticated user that are not considered answered.                                                                       |
  | `get-post-comments`                 | Tool to retrieve comments on posts identified by IDs, regardless of post type (question or answer).                                                                |
  | `get-posts-by-ids`                  | Tool to retrieve a set of posts by their IDs from a Stack Exchange site.                                                                                           |
  | `get-post-suggested-edits`          | Tool to retrieve suggested edits on posts from a Stack Exchange site.                                                                                              |
  | `get-question-answers`              | Tool to retrieve all answers for a set of questions identified by their IDs.                                                                                       |
  | `get-question-close-options`        | Tool to fetch flag options that make up close reasons for a specific question.                                                                                     |
  | `get-question-comments`             | Tool to retrieve comments on a set of questions from Stack Exchange.                                                                                               |
  | `get-question-flag-options`         | Tool to fetch valid flag options, including close reasons, for a specific question.                                                                                |
  | `get-questions`                     | Tool to retrieve a list of questions from a Stack Exchange site without requiring tags or keywords.                                                                |
  | `get-questions-by-answer-ids`       | Tool to retrieve questions that specific answers belong to on a Stack Exchange site.                                                                               |
  | `get-questions-by-ids`              | Tool to retrieve a set of questions by their IDs from a Stack Exchange site.                                                                                       |
  | `get-question-timeline`             | Tool to retrieve timeline events for specified questions on a Stack Exchange site.                                                                                 |
  | `get-related-tags`                  | Tool to retrieve tags most related to the specified tags on a Stack Exchange site.                                                                                 |
  | `get-revisions-by-ids`              | Tool to retrieve revisions for specific posts by their IDs. Use when you need to examine the edit history of posts by providing semicolon-delimited IDs.           |
  | `get-search-results`                | Tool to search the site for questions meeting certain criteria.                                                                                                    |
  | `get-site-info`                     | Tool to retrieve comprehensive statistics and information about a Stack Exchange site.                                                                             |
  | `get-sites`                         | Retrieves a comprehensive list of all Stack Exchange network sites with detailed information including site names, URLs, styling, and...                           |
  | `get-suggested-edits-by-ids`        | Tool to retrieve suggested edits by their IDs from a Stack Exchange site.                                                                                          |
  | `get-tag-faq`                       | Tool to retrieve frequently asked questions for a set of tags on Stack Exchange.                                                                                   |
  | `get-tag-info`                      | Tool to retrieve tag objects representing specified tags on a Stack Exchange site.                                                                                 |
  | `get-tag-synonyms`                  | Tool to retrieve all synonyms that point to the specified tags on a Stack Exchange site.                                                                           |
  | `get-tag-top-answerers`             | Tool to retrieve the top 30 answerers active in a single tag, of either all-time or the last 30 days.                                                              |
  | `get-tag-top-askers`                | Tool to retrieve the top askers active in a single tag. Use when you need to find the most active users who ask questions in a specific tag, either...             |
  | `get-tag-wikis`                     | Tool to retrieve wiki content for specified tags on a Stack Exchange site.                                                                                         |
  | `get-user-answers`                  | Tool to retrieve answers posted by specific users on a Stack Exchange site.                                                                                        |
  | `get-user-associated-accounts`      | Tool to retrieve all Stack Exchange accounts associated with specified users by their account IDs.                                                                 |
  | `get-user-badges`                   | Tool to retrieve badges earned by specified users on a Stack Exchange site.                                                                                        |
  | `get-user-comments`                 | Tool to retrieve comments posted by specified users on a Stack Exchange site.                                                                                      |
  | `get-user-comments-to-user`         | Tool to retrieve comments that specific users have posted in reply to a single user.                                                                               |
  | `get-user-favorites`                | Tool to retrieve the questions that users have favorited/bookmarked.                                                                                               |
  | `get-user-featured-questions`       | Tool to retrieve questions with active bounties offered by specified users.                                                                                        |
  | `get-user-full-reputation-history`  | Tool to retrieve a user's full reputation history on a Stack Exchange site, including private events.                                                              |
  | `get-user-inbox`                    | Tool to retrieve a user's inbox from Stack Exchange. Returns inbox items including comments, answers, questions, and chat messages directed at the specified user. |
  | `get-user-mentions`                 | Tool to retrieve comments that mention specific users on a Stack Exchange site.                                                                                    |
  | `get-user-merge-history`            | Tool to retrieve account merge history for specified user account IDs across the Stack Exchange network.                                                           |
  | `get-user-no-answer-questions`      | Tool to retrieve questions asked by specified users that have zero undeleted answers.                                                                              |
  | `get-user-notifications`            | Tool to retrieve notifications for a specific Stack Exchange user by ID.                                                                                           |
  | `get-user-posts`                    | Tool to retrieve posts (questions and answers) posted by specific users on a Stack Exchange site.                                                                  |
  | `get-user-privileges`               | Tool to retrieve privileges a specific user has on a Stack Exchange site.                                                                                          |
  | `get-user-questions`                | Tool to retrieve questions asked by specific users on a Stack Exchange site.                                                                                       |
  | `get-user-reputation`               | Tool to retrieve reputation changes for users on a Stack Exchange site.                                                                                            |
  | `get-user-reputation-history`       | Tool to retrieve public reputation history for specified Stack Exchange users.                                                                                     |
  | `get-users-by-ids`                  | Tool to retrieve user profiles by their IDs from a Stack Exchange site.                                                                                            |
  | `get-user-suggested-edits`          | Tool to retrieve suggested edits submitted by specified users on a Stack Exchange site.                                                                            |
  | `get-user-tags`                     | Tool to retrieve tags that specified users are active in on a Stack Exchange site.                                                                                 |
  | `get-user-timeline`                 | Tool to retrieve a timeline of actions taken by specified users on a Stack Exchange site.                                                                          |
  | `get-user-top-answers-in-tags`      | Tool to retrieve the top 30 answers a specific user has posted in response to questions with given tags.                                                           |
  | `get-user-top-answer-tags`          | Tool to retrieve a single user's top tags by answer score on Stack Exchange.                                                                                       |
  | `get-user-top-questions-in-tags`    | Tool to retrieve the top 30 questions a user has asked with the given tags.                                                                                        |
  | `get-user-top-question-tags`        | Tool to retrieve a single user's top tags by question score on a Stack Exchange site.                                                                              |
  | `get-user-top-tags`                 | Tool to retrieve a single user's top tags by combined question and answer score on a Stack Exchange site.                                                          |
  | `get-user-unaccepted-questions`     | Tool to retrieve questions asked by specified users that have at least one answer but no accepted answer.                                                          |
  | `get-user-unanswered-questions`     | Tool to retrieve questions asked by specific users that the site considers unanswered.                                                                             |
  | `get-user-unread-inbox`             | Tool to retrieve unread items in a specific user's Stack Exchange inbox.                                                                                           |
  | `get-user-unread-notifications`     | Tool to retrieve unread notifications for a specific user on Stack Exchange.                                                                                       |
  | `list-answers`                      | Tool to retrieve all undeleted answers from a Stack Exchange site.                                                                                                 |
  | `list-badge-recipients`             | Tool to retrieve recently awarded badges from a Stack Exchange site.                                                                                               |
  | `list-badges`                       | Tool to retrieve all badges available in a Stack Exchange site.                                                                                                    |
  | `list-elected-moderators`           | Tool to retrieve users who have moderator powers and were actually elected on a Stack Exchange site.                                                               |
  | `list-errors`                       | Tool to retrieve the various error codes that can be produced by the Stack Exchange API.                                                                           |
  | `list-featured-questions`           | Tool to retrieve all questions with active bounties in the system.                                                                                                 |
  | `list-moderator-only-tags`          | Tool to retrieve tags that only moderators can use on a Stack Exchange site.                                                                                       |
  | `list-moderators`                   | Tool to retrieve users who can exercise moderation powers on a Stack Exchange site.                                                                                |
  | `list-named-badges`                 | Tool to retrieve all explicitly named badges from a Stack Exchange site.                                                                                           |
  | `list-no-answer-questions`          | Tool to retrieve questions that have received no answers from a Stack Exchange site.                                                                               |
  | `list-posts`                        | Tool to retrieve all posts (questions and answers) from a Stack Exchange site.                                                                                     |
  | `list-privileges`                   | Tool to retrieve all earnable privileges on a Stack Exchange site.                                                                                                 |
  | `list-required-tags`                | Tool to retrieve tags found on a site that fulfill required tag constraints on questions.                                                                          |
  | `list-suggested-edits`              | Tool to retrieve all suggested edits in a Stack Exchange site.                                                                                                     |
  | `list-tag-badges`                   | Returns badges awarded for participation in specific tags on Stack Exchange sites.                                                                                 |
  | `list-tags`                         | Tool to retrieve tags found on a Stack Exchange site. Use when you need to browse available tags, search for tags by name substring, or filter by...               |
  | `list-tag-synonyms`                 | Tool to retrieve all tag synonyms found on a Stack Exchange site.                                                                                                  |
  | `list-unanswered-questions`         | Tool to retrieve questions the site considers to be unanswered.                                                                                                    |
  | `list-unanswered-questions-my-tags` | Tool to retrieve unanswered questions within the authenticated user's favorite or frequented tags.                                                                 |
  | `list-users`                        | Tool to retrieve all users on a Stack Exchange site. Use when you need to browse users on a site, search for users by name substring, or filter by...              |
  | `render-answer`                     | Tool to render a preview of an answer given its body and the question it's on.                                                                                     |
  | `search-advanced`                   | Tool to search a Stack Exchange site for questions matching advanced criteria.                                                                                     |
  | `search-excerpts`                   | Tool to search a Stack Exchange site for items matching given criteria with excerpt snippets.                                                                      |
</Accordion>

[Open Stack Exchange in the console →](https://app.boxd.sh/integrations/detail/stack_exchange)
