Resolve Workspace Resource
resolve_workspace_resourceResolve a resource URI from an earlier result into a current handle with refreshed metadata, verifying Drive files and Gmail messages still exist before reuse.
Instructions
Turn a resource URI from an earlier result's resource handle back into a handle with current metadata. Drive files are re-read for a fresh name, mime_type, modified_at (account time zone), web_url and etag, and Gmail messages are checked to still exist; threads, events, contacts and tasks are only parsed, without a Google call. Returns resource and verified (true when Google confirmed the resource exists); pass resource.id to the matching service tool for content.
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": {
"uri": "<uri>"
},
"name": "resolve_workspace_resource"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| uri | Yes | The uri of a resource handle from an earlier result, e.g. 'gdrive:///<file_id>' or 'gmail-message:///<message_id>'; other schemes are rejected. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| resource | No | ||
| verified | No |