Import selected Drive file
source_import_driveImports from the Workspace's authorized Drive connection without establishing provider consent.
New files require Google Picker selection. A client-generated key identifies replay; access and metadata are verified before queueing. Acceptance is not ingestion readiness.
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": {
"agent_id": "<agent_id>",
"request_key": "<request_key>",
"data": "<data>"
},
"name": "source_import_drive"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| data | Yes | Authorized Drive file ID, file name and MIME type for import. | |
| agent_id | Yes | Agent ID from agents_list or agent_create. | |
| request_key | Yes | Client-generated request UUID; identical retries retain this key. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| effect | Yes | ||
| replayed | Yes | ||
| operation | Yes | ||
| publication | Yes |