paste_search
Search public paste sites for specific text to identify exposed credentials, code snippets, or sensitive information using open-source intelligence.
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": "paste_search"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| query | Yes | Query to search for in public pastes |
Implementation Reference
- src/index.ts:663-672 (handler)The tool 'paste_search' is registered and implemented directly in src/index.ts. It takes a 'query' string as input and calls 'threatClient.searchPastes(query)' to perform the search.
server.tool( "paste_search", { query: z.string().describe("Query to search for in public pastes") }, async ({ query }) => { const result = await threatClient.searchPastes(query); return { content: [{ type: "text", text: JSON.stringify(result, null, 2) }], }; } );