list_remote_files
Browse or search a connected storage. Required: root_id — roots[].id from list_file_accounts (the provider drive id works too). Optional: folder_id (browse inside a folder), query (search — the PROVIDER searches, so Drive also looks inside PDFs and Graph honours sharing), limit (default 50, max 200). Nothing is copied into CallPilotAI; you get metadata plus a link to the original.
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": {
"root_id": "<root_id>"
},
"name": "list_remote_files"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| limit | No | Maximum number of entries to return | |
| query | No | Search text | |
| root_id | Yes | ID of the root folder | |
| folder_id | No | ID of the folder |