Find files
Search files
Search files
Finds files shared with the service account. Combine filters to narrow the search. When a search reaches its limit, the result says so and the agent can add filters.Tool name:
@Search Google Drive FilesInput fields:keyword- matches file names and content.name_contains- text the file name contains.file_type-folder,document,spreadsheet,presentation,pdf,image, orvideo.owner- only files this person owns, as a Ravenna user ID or an email.modified_afterandmodified_before- a modified date range.parent_folder_id- only files in this folder.max_results- up to 50. Defaults to 25.
files- each file’sid,name,mime_type, andweb_view_link.total_count- how many files came back.
- Find the document someone is asking for
- List recent files in a project folder
Manage access
Setup
1
Connect a service account
Follow the Google Drive setup guide.
2
Check the agent's tools
Open your agent’s settings and confirm the Google Drive tools appear under Tools. A disconnected integration shows a warning instead.
3
Write a rule
Reference the tools with @ mentions in a , then test it on a real access request.
Best practices
- Search before sharing. Have the agent find the file and confirm it with the requester before sharing.
- Share the least access. Default to
readerunless the request needs more. - Gate sharing. Put
@Share Google Drive Filebehind Confirm first or Requires approval for sensitive folders.
Learn more about configuring agents and Google Drive workflow actions