drive_search
Search the workspace's registered Google Drive folders by words in the name or the text. Only files inside a registered folder are returned. folder narrows the search to ONE registered root (pass the root's id or link); to look inside a sub-folder use drive.list on it. truncated: true means the search stopped before Google ran out of results: narrow the query. Search by text may not see changes made in the last few minutes (names are found at once); drive.read always reads the current text.
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": {
"query": "<query>"
},
"name": "drive_search"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| limit | No | Most results to return (1-100). | |
| query | Yes | Words to look for in file names and text. | |
| folder | No | A registered root (id or link) to search in. Not a sub-folder. | |
| in_workspace | No | Run this one call in this workspace id instead of the session's. Nothing is stored; other sessions are not affected. |