> ## 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

> Let an agent search and write one configured Pinecone namespace

Add **Pinecone** to an agent, then select a compatible index, namespace, and result limit (1–20, default 10).

The model receives two bounded functions: `pinecone_search(query, top_k?)` and `pinecone_write(content, record_id?, metadata?)`. Fetch Hive injects the saved index and namespace server-side, so the model cannot access another index or namespace. The tool cannot delete records or manage indexes.

Writes create one raw-text record per call. A blank record ID generates a UUID; an existing ID replaces that complete record. Metadata must be flat and may contain strings, finite numbers, booleans, or arrays of strings. Pinecone is eventually consistent, so a successful write may not appear in search immediately.
