feat: add Kimi Code and web APIs
This commit is contained in:
@@ -159,6 +159,14 @@ static const cst_tool_def_t TOOLS[] = {
|
||||
NULL,
|
||||
{{"todos", S, 1, "the whole list, one item per line"}},
|
||||
CST_TP_META, 0, cst_tool_todo_write, NULL, NO_DYN, NO_META},
|
||||
{"web_search",
|
||||
"Search the live web through the current Kimi or DeepSeek provider and "
|
||||
"return titles, URLs and snippets. Use web_fetch to read a result.",
|
||||
NULL,
|
||||
{{"query", S, 1, "search query"},
|
||||
{"count", I, 0, "number of results (default 5, max 20)"},
|
||||
{"include_content", B, 0, "include provider-returned page content"}},
|
||||
CST_TP_NET, 0, cst_tool_web_search, NULL, NO_DYN, NO_META},
|
||||
{"web_fetch",
|
||||
"Fetch an http(s) URL (docs, issues, APIs) and return its text; HTML "
|
||||
"is reduced to readable text.",
|
||||
|
||||
Reference in New Issue
Block a user