Fetch a search result
fetchFetch a result using its exact typed ID from search. Tasks and Docs include body content, messages include bounded text, and files return metadata. A legacy bare ID is treated as a task. Requires the read permission for that source.
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 | Exact result ID returned by search, including its type prefix. A bare ID refers to a task. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| id | Yes | ||
| url | Yes | ||
| text | Yes | ||
| title | Yes | ||
| metadata | Yes |