diff options
| author | tanaka takashi <isazaka@gmail.com> | 2026-07-01 00:17:40 +0900 |
|---|---|---|
| committer | tanaka takashi <isazaka@gmail.com> | 2026-07-01 00:17:40 +0900 |
| commit | 34e00404e9561dcaf8d2d99df7470757a4fee915 (patch) | |
| tree | b16e2fd6a5f9b0eb1f7019cb7967b4edcd97cc13 /src/mcp/tools/rebuild_index.c | |
| parent | a44fd4cf3a0c3d7ae33b7664341a0a9bff07aaaa (diff) | |
tool description最適化
Diffstat (limited to 'src/mcp/tools/rebuild_index.c')
| -rw-r--r-- | src/mcp/tools/rebuild_index.c | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/src/mcp/tools/rebuild_index.c b/src/mcp/tools/rebuild_index.c index 7208d77..e6dbf69 100644 --- a/src/mcp/tools/rebuild_index.c +++ b/src/mcp/tools/rebuild_index.c @@ -59,6 +59,11 @@ call_rebuild_index(const mcpc_tool_t *tool, mcpc_ucbr_t *result) bool tiny_mcp_register_rebuild_index(mcpc_server_t *server) { - mcpc_tool_t *tool = tiny_mcp_tool_new("rebuild_index", "Compact and rebuild", call_rebuild_index); + mcpc_tool_t *tool = tiny_mcp_tool_new( + "rebuild_index", + "Compact the store and rebuild its snapshot and in-memory indexes. Use it " + "for maintenance or to physically remove logically deleted records; it may " + "block other requests while running.", + call_rebuild_index); return tool && mcpc_server_add_tool(server, tool) == MCPC_EC_0; } |
