智能体工具

文档文档文档文档

document({ action: "add" | "list" | "remove", path?, storage?, document? })

索引文档, 这样语义搜索就能找到它。 没有它, 搜索只能找到人类上传的东西 。

read on list, write otherwisefeeds query_storage searchworkspace files
Using Python?

Switch any code block to Python: the choice applies to every page. Python SDK guide and resource reference.

actionstring必填

add · list · remove.

pathstring

索引的工作空间文件 - a PDF, a , a , a , a DOCX,文本。

storagestring

按标签,否则账户违约

documentstring

ID, 发自 list.

用途

关闭环环, 代理无法自己关闭

query_storage {行动:“搜索”}根据含义找到文件——但只有那些被索引的文件。没有这个工具,代理商可以产生一份报告,而永远无法用它所说的话找到它。

双对

document({ action: "add", path: "Reports/q3.pdf" })
query_storage({ action: "search", query: "what did we say about churn" })
# The calls the model makes:
document = {"action": "add", "path": "Reports/q3.pdf"}
query_storage = {"action": "search", "query": "what did we say about churn"}

费用

上传文件索引并消耗存储空间。 搜索本身是每个呼叫的信用额度 。

列表是自由的

此类别从动作中计算: 列表是读、 添加和删除的, 由写来 。