List Google Docs
list_documentsSearch Google Drive for Google Docs documents, including shared drives. Returns document names, IDs, owners, and last-modified dates, newest first, to use with other tools.
Instructions
Search the user's Google Drive for Google Docs documents (including shared drives). Returns name, ID, owner and last-modified date, newest first. Use the returned ID with the other tools.
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "list_documents"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| query | No | Optional free-text search matched against the document title and full text. | |
| page_token | No | Token from a previous call to fetch the next page. | |
| max_results | No |