Fetch a directory document
fetchRetrieve the full text of one directory document by the id returned from "search", for quoting and citation. Ids look like company/, answer/, ranking/, or "statistics". Always call "search" first to get an id.
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": {
"id": "<id>"
},
"name": "fetch"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| id | Yes | A document id from a "search" result, for example "company/room-8-studio". |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| id | Yes | ||
| url | Yes | Canonical page URL for citation. | |
| text | Yes | The full text of the document. | |
| title | Yes | ||
| metadata | No | Extra fields about the document. |