{"command":{"effect":"write","timeoutSeconds":120,"inputSchema":{"type":"object","properties":{"target":{"type":"string","minLength":1,"maxLength":160,"title":"Graph node id"},"media":{"type":"object","title":"File to upload (inline; a stored reference needs object storage Tooluse.net does not have)","properties":{"dataBase64":{"type":"string","contentEncoding":"base64","minLength":4,"maxLength":700000,"title":"Base64 contents"},"mediaType":{"type":"string","pattern":"^[A-Za-z0-9.+-]+/[A-Za-z0-9.+-]+$","maxLength":128,"title":"Media type"},"filename":{"type":"string","minLength":1,"maxLength":255,"pattern":"^[^\\\\/\\r\\n]+$","title":"File name"}},"required":["dataBase64","mediaType"],"additionalProperties":false},"fields":{"type":"object","title":"Request fields","additionalProperties":{"anyOf":[{"anyOf":[{"type":"string","maxLength":4096},{"type":"number"},{"type":"boolean"}]},{"type":"array","items":{"anyOf":[{"type":"string","maxLength":4096},{"type":"number"},{"type":"boolean"}]},"maxItems":40}]},"maxProperties":40},"query":{"type":"object","title":"Query parameters","additionalProperties":{"anyOf":[{"type":"string","maxLength":4096},{"type":"number"},{"type":"boolean"}]},"maxProperties":40}},"required":["target","media"],"additionalProperties":false,"description":"Upload the explicitly supplied supported media bytes to the target phone-number ID. The multipart MIME type matches the supplied media type; provider format/size rules still apply."},"name":"Upload media","id":"meta.whatsapp.media.mutation","example":{"target":"109876543210987","media":{"dataBase64":"iVBORw0KGgoAAAANSUhEUgAAAAEAAAABCAQAAAC1HAwCAAAAC0lEQVR42mP8/x8AAwMCAO+aI+kAAAAASUVORK5CYII=","mediaType":"image/png","filename":"pixel.png"},"fields":{"messaging_product":"whatsapp"}},"maxRequests":1,"summary":false}}