Skip to content
pi-c Artifact [4b2a8c35cb]
Login

Artifact [4b2a8c35cb]

Artifact 4b2a8c35cba9aa01a19ee52a5d12e5c8033e8bee2c5312553f1497a48032d176:


/* 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