driveactivity query activity
driveactivity_query_activityQuery Drive activity newest first for one file, a folder's contents, or the entire Drive; filter by time/action and consolidate related changes.
Instructions
Query Drive activity, newest first, for one file (item_id), everything under a folder (folder_id), or the whole Drive (neither).
filter uses the Drive Activity syntax, for example 'time >= "2026-10-01T00:00:00Z" AND detail.action_detail_case:(EDIT RENAME)'. consolidate=true groups related actions.
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": "driveactivity_query_activity"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| filter | No | ||
| item_id | No | ||
| folder_id | No | ||
| page_token | No | ||
| consolidate | No | ||
| max_results | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||