You're viewing a demo portfolio

Join the waitlist
PRSM

search_within

Active

Tool of Slack_connect

declared in 0.1.0

Semantic search INSIDE a fetched record. Pass the text you already pulled (e.g. a SEC 10-K body, an article, a long tool result) plus a natural-language query; get back the top-N passages with character offsets and similarity scores. Use when the record is too big to cram into the prompt — search_within saves context, returns only the passages that matter, and every passage carries an offset so the agent can verify a verbatim quote. Pairs with ask_pipeworx_grounded: fetch with the gateway, ground over the relevant passages instead of the whole document. BGE-base-en embeddings + cosine over 500-char overlapping windows; cap is 200K chars (longer inputs are truncated and flagged).

Parameters schema

{
  "type": "object",
  "required": [
    "text",
    "query"
  ],
  "properties": {
    "text": {
      "type": "string",
      "description": "The document text to search inside (max ~200K chars)."
    },
    "limit": {
      "type": "number",
      "description": "Max passages to return (1-20, default 5)."
    },
    "query": {
      "type": "string",
      "description": "Natural-language query — what passages do you want? E.g. \"supply-chain risk\", \"fiscal year 2024 revenue\", \"drug interactions with warfarin\"."
    }
  }
}

What this tool wraps· 1 endpoint

min confidence0.700.50

Parent server

Slack_connect

https://github.com/pipeworx-io/mcp-slack_connect

1/7 registries
View full server →