fetch
Fetch full details for a specific item returned by search. The id encodes the item type:
• 'expense:' — the durable Column-Q Receipt ID returned by search, URL-encoded, e.g. 'expense:RR-123%3A%3Adrive%2Ffile%209'. Never a sheet row number: rows move when the sheet is prepended.
• 'report:' — the alphanumeric Firestore document id from search or list_reports, e.g., 'report:FQqDglExofsyyQv7aYy4'
• 'kb:' — the knowledge-base entry id from search
Use ids exactly as returned; never alter them. Returns full text + metadata to cite. Outside Deep Research read one expense with get_expense_by_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 | Item ID from a previous `search` or `list_reports` call. Format: 'expense:<URL-encoded Column-Q expenseId>', 'report:<reportId>' (alphanumeric Firestore doc id, ~20 chars), or 'kb:<entryId>' (knowledge-base entry id). |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| id | Yes | Echoed back from the input | |
| url | No | ||
| text | Yes | Full text content for the AI to cite | |
| title | Yes | ||
| metadata | No |