{"command":{"effect":"write","timeoutSeconds":30,"inputSchema":{"type":"object","description":"Upload one or more files to the Pages asset store. Each file is\nidentified by its content hash and is uploaded using the same JSON shape\nas the Cloudflare KV bulk write API. Used as part of the Pages Direct\nUpload workflow.\n\nAuthenticate with the JWT obtained from the upload-token endpoint:\nGET /accounts/{account_id}/pages/projects/{project_name}/upload-token\n","properties":{"body":{"$ref":"#/definitions/pages_pages_assets_upload_request","examples":[[{"base64":true,"key":"b026324c6904b2a9cb4b88d6d61c81d1","metadata":{"contentType":"text/plain"},"value":"SGVsbG8sIFdvcmxkIQ=="}]]}},"required":["body"],"additionalProperties":false,"definitions":{"pages_pages_assets_upload_request":{"type":"array","items":{"properties":{"base64":{"description":"Whether value is base64 encoded.","type":"boolean","examples":[true]},"key":{"description":"File content hash used as the object key in the Pages asset store.","type":"string","examples":["b026324c6904b2a9cb4b88d6d61c81d1"]},"metadata":{"type":"object","properties":{"contentType":{"description":"MIME type for the uploaded file.","type":"string","examples":["text/plain"]}},"required":["contentType"]},"value":{"description":"File content. When base64 is true, this value is base64 encoded.","type":"string","examples":["SGVsbG8sIFdvcmxkIQ=="]}},"required":["key","value","metadata","base64"],"type":"object"}}}},"name":"Upload asset","id":"cloudflare.pages-assets-upload","example":{"body":[]},"maxRequests":1,"summary":false}}