> ## Documentation Index
> Fetch the complete documentation index at: https://docs.fetchhive.com/llms.txt
> Use this file to discover all available pages before exploring further.

# Pinecone

> 让智能体搜索并写入一个已配置的 Pinecone 命名空间

向智能体添加 **Pinecone**，然后选择兼容索引、命名空间和 1–20 的结果数量。

模型可调用 `pinecone_search(query, top_k?)` 和 `pinecone_write(content, record_id?, metadata?)`。索引和命名空间由服务器固定，模型无法改用其他位置。该工具不能删除记录或管理索引。

每次写入一条文本记录。空 ID 会生成 UUID；现有 ID 会覆盖完整记录。Pinecone 为最终一致性，因此成功写入后可能需要短暂等待才能搜索到。
