List Drive files
drive_files_listLists Google Picker files selected for Replai; source_import_drive imports them.
Returns the newest 50 matching app-authorized files; query narrows matches. provider_connect_handoff for google_drive opens file selection for absent files; selected files automatically import as the Agent's sources. The shared API exposes no continuation token. Empty results do not prove a connection. This does not upload client-local files, connect a provider or import bytes.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| query | No | Full-text search term within app-authorized Drive files; null leaves the listing unfiltered. | |
| agent_id | Yes | Agent ID from agents_list or agent_create. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| files | Yes | ||
| agent_id | Yes | ||
| completeness | Yes | ||
| workspace_id | Yes | ||
| listing_limit | Yes | ||
| continuation_available | Yes |