Sign in

Create file

documented

Creates a new file in Drive.

POST /drive/v3/filesDriveno implementation yet0 runs
No implementation yet. Run it to have the agent write one, or open a pull request with your own.

Seed example (keychains curl)

npx -y keychains@latest curl "https://www.googleapis.com/drive/v3/files" \
  -X POST \\
  -H \"Authorization: Bearer {{OAUTH2_ACCESS_TOKEN}}\" \\
  -H \"Content-Type: application/json; charset=UTF-8\" \\
  -H \"Accept: application/json\" \\
  -d '{\"name\": \"{{$title}}\", \"mimeType\": \"{{$mimeType}}\", \"parents\": [\"{{$parent_id}}\"], \"description\": \"{{$description}}\"}' \
# Source: Google Drive API v3 reference — files.create endpoint (POST /drive/v3/files) 
# Docs: https://developers.google.com/drive/api/v3/reference/files#create