fileUpload():{ config:{ description:"Upload a file to Google Drive from a file:// or http(s):// URI. Content is streamed from the source (no temp files) in a single multipart request. Returns file ID for use in other operations."; inputSchema:ZodObject< { description:ZodOptional<ZodString>; mimeType:ZodOptional<ZodString>; name:ZodOptional<ZodString>; parentId:ZodOptional<ZodString>; sourceUri:ZodString; }, $strip, >; outputSchema:ZodObject< { result:ZodDiscriminatedUnion< [ ZodObject< { completedAt:ZodString; id:ZodString; itemsChanged:ZodNumber; itemsProcessed:ZodNumber; mimeType:ZodString; name:ZodString; operationSummary:ZodString; parentId:ZodOptional<ZodString>; parentName:ZodOptional<ZodString>; size:ZodString; type:ZodLiteral<"success">; webViewLink:ZodString; }, $strip, >, ZodObject<{},$strip>, ], "type", >; }, $strip, >; title:"Upload File"; }; handler:( __namedParameters:{ description?:string; mimeType?:string; name?:string; parentId?:string; sourceUri:string; }, extra:EnrichedExtra, )=>Promise<{[key:string]:unknown}>; name:"file-upload"; }
Returns { config:{ description:"Upload a file to Google Drive from a file:// or http(s):// URI. Content is streamed from the source (no temp files) in a single multipart request. Returns file ID for use in other operations."; inputSchema:ZodObject< { description:ZodOptional<ZodString>; mimeType:ZodOptional<ZodString>; name:ZodOptional<ZodString>; parentId:ZodOptional<ZodString>; sourceUri:ZodString; }, $strip, >; outputSchema:ZodObject< { result:ZodDiscriminatedUnion< [ ZodObject< { completedAt:ZodString; id:ZodString; itemsChanged:ZodNumber; itemsProcessed:ZodNumber; mimeType:ZodString; name:ZodString; operationSummary:ZodString; parentId:ZodOptional<ZodString>; parentName:ZodOptional<ZodString>; size:ZodString; type:ZodLiteral<"success">; webViewLink:ZodString; }, $strip, >, ZodObject<{},$strip>, ], "type", >; }, $strip, >; title:"Upload File"; }; handler:( __namedParameters:{ description?:string; mimeType?:string; name?:string; parentId?:string; sourceUri:string; }, extra:EnrichedExtra, )=>Promise<{[key:string]:unknown}>; name:"file-upload"; }