generate_urls
Generates URLs for retrieved results when metadata lacks a URL, using the namespace-specific generator and returning unavailable if none exists.
Instructions
Generate URLs for retrieved results when metadata does not include url and URL is needed. Uses the URL generator registered for the given namespace (if any); returns unavailable for namespaces without a generator.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"namespace": "<namespace>",
"records": "<records>"
},
"name": "generate_urls"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| source | No | Pinecone source name (from list_sources). Omit on discovery tools to search all sources. On query tools, omit only when namespace uniquely identifies one source. | |
| records | Yes | Array of records from retrieval results. Each item may be either metadata itself or an object containing a metadata field. | |
| namespace | Yes | Target namespace. URL generation is supported only for namespaces that have a registered generator (call list_namespaces to discover namespaces). |