/* tool_search (Pi's tool of the same name): searches the deferred tools, MCP tools of servers with * exposure `deferred`, which no request declares until a search returns them, ranks them with * BM25 and declares the best matches for the requests after it. What it declares is journaled * with its result (pic_tool_hooks.reveal), so a conversation resumed or forked from there * declares the same tools. Bundled: core only journals the names and merges them into a * request's tools; what to search, and how to rank it, are decided here. */ #ifndef PIC_TOOLSEARCH_H #define PIC_TOOLSEARCH_H #include "toolreg.h" extern const char pic_toolsearch_schema[]; extern const pic_tool_def pic_toolsearch_tool; #endif