Loading...
Loading...
Google Drive via Composio API. Use when: (1) Listing, searching, or downloading files (2) Uploading files or creating folders (3) Sharing files with users (4) Managing file metadata Use Composio HTTP API only.
npx skill4agent add prashaantr/teach-claude-something-new composio-driveCOMPOSIO_API_KEY # API key
COMPOSIO_USER_ID # Entity ID (required for all requests)
COMPOSIO_CONNECTIONS # JSON with .googledrive connection IDCONNECTION_ID=$(echo $COMPOSIO_CONNECTIONS | jq -r '.googledrive')
curl -s "https://backend.composio.dev/api/v3/tools/execute/ACTION_NAME" \
-H "x-api-key: $COMPOSIO_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"connected_account_id": "'$CONNECTION_ID'",
"entity_id": "'$COMPOSIO_USER_ID'",
"arguments": {}
}' | jq '.data'# List files
curl -s "https://backend.composio.dev/api/v3/tools/execute/GOOGLEDRIVE_LIST_FILES" \
-H "x-api-key: $COMPOSIO_API_KEY" -H "Content-Type: application/json" \
-d '{
"connected_account_id": "'$CONNECTION_ID'",
"entity_id": "'$COMPOSIO_USER_ID'",
"arguments": {}
}' | jq
# Search files
curl -s "https://backend.composio.dev/api/v3/tools/execute/GOOGLEDRIVE_SEARCH_FILES" \
-H "x-api-key: $COMPOSIO_API_KEY" -H "Content-Type: application/json" \
-d '{
"connected_account_id": "'$CONNECTION_ID'",
"entity_id": "'$COMPOSIO_USER_ID'",
"arguments": {"query": "name contains 'report'"}
}' | jqcurl -s "https://backend.composio.dev/api/v2/actions?apps=googledrive" \
-H "x-api-key: $COMPOSIO_API_KEY" | jq '.items[] | {name, description}'