Answer: Use a blob attachment with type "blob", passing the base64-encoded image data, a mimeType, and a displayName in the attachments array of session.send. For example, in TypeScript: attachments: [{ type: "blob", data: base64ImageData, mimeType: "image/png", displayName: "screenshot.png" }]. Status: Confirmed Entry: tool/github-copilot/features/attach-image-blob Revision: 3 Digest: sha256:a3cad3776c62a535 (changes whenever the content changes) Timeline: Created: 2026-11-13T03:28:05Z Last changed: 2026-11-19T13:02:00Z (displayName: — → screenshot.png) Last verified: 2026-11-20T13:08:24Z Next check: 2026-11-21T13:08:24Z Check interval: Daily Expected change: No fixed schedule Data: Field | Value | Source | As of attachment type | blob | [1] | 2026-11-20 data field | base64ImageData | [1] | 2026-11-20 mimeType | image/png | [1] | 2026-11-20 displayName | screenshot.png | [1] | 2026-11-20 Sources: [1] GitHub. "Image input - GitHub Docs". https://docs.github.com/en/copilot/how-tos/copilot-sdk/features/image-input Role: primary. Accessed: 2026-11-20T13:08:24Z Quote: "type : "blob"" (Supports: attachment type) Quote: "data : base64ImageData" (Supports: data field) Quote: "mimeType : "image/png"" (Supports: mimeType) Quote: "displayName : "screenshot.png"" (Supports: displayName) Snapshot SHA-256: 5aac6d4b4efe09443a4fbefae8e81155bacf6b557e78719b5e7fe2c1803ad16d (captured 2026-11-18T13:03:30Z) Verification: Method: Automated extraction from [1] with deepseek-flash (JSON output, thinking disabled). Every value was checked by code to appear verbatim in a quoted passage of [1]. On this check the text of [1] was unchanged since 2026-11-18T13:03:29Z, so the values verified then were kept. Cross-check: not-available at 2026-11-20T13:08:24Z. No independent second source is configured for this entry Last successful check: 2026-11-20T13:08:24Z Last attempt: 2026-11-20T13:08:24Z Notes and limitations: Extracted automatically from a single official source (section "Quick start—blob attachment"). Related: https://latestn.com/tool/github-copilot/features/attach-image-file How do I attach an image file to a GitHub Copilot SDK request? https://latestn.com/tool/github-copilot/features/attach-images-to-chat How do I attach images to a GitHub Copilot Chat prompt in my IDE? https://latestn.com/tool/github-copilot/features/autopilot-benefits What are the benefits of using GitHub Copilot Autopilot mode? https://latestn.com/tool/github-copilot/features/ask-questions-in-github How do I ask GitHub Copilot questions in GitHub? https://latestn.com/tool/github-copilot/features/ask-repo-questions-mobile How do I ask GitHub Copilot exploratory questions about a repository in GitHub Mobile? https://latestn.com/tool/github-copilot/features/ask-repository-questions How do I ask GitHub Copilot Chat questions about a repository? https://latestn.com/tool/ All entries in AI tools Change log: Time | Event | Change | Source 2026-11-19T13:02:00Z | changed | displayName: — → screenshot.png | [1] 2026-11-19T13:02:00Z | changed | mimeType: — → image/png | [1] 2026-11-19T13:02:00Z | changed | example prompt: Describe what you see in this image → — | [1] 2026-11-19T13:02:00Z | changed | display name: screenshot.png → — | [1] 2026-11-19T13:02:00Z | changed | mime type: image/png → — | [1] 2026-11-17T13:26:20Z | changed | example prompt: — → Describe what you see in this image | [1] 2026-11-17T13:26:20Z | changed | prompt example: Describe what you see in this image → — | [1] 2026-11-13T03:28:05Z | added | Entry created | — Changes for this entry as a feed: https://latestn.com/tool/github-copilot/features/attach-image-blob/latest Challenge this entry: Open challenges: None How: If a value here is wrong or out of date, send what is wrong and a link to evidence. Challenges are queued and checked against the evidence; they do not change the entry by themselves. If the entry changes as a result, the change log says so. Form: https://latestn.com/dispute/tool/github-copilot/features/attach-image-blob POST: https://latestn.com/dispute/tool/github-copilot/features/attach-image-blob with claim, evidence_url, and optionally field and contact (form-encoded or JSON) GET: https://latestn.com/dispute/tool/github-copilot/features/attach-image-blob?claim={what is wrong}&evidence_url={link} How to cite: LatestN. (2026). How do I send an image as a blob attachment in the GitHub Copilot SDK? Revision 3, last verified 2026-11-20T13:08:24Z. https://latestn.com/tool/github-copilot/features/attach-image-blob (accessed 2026-11-21T09:52:23Z). @misc{LatestN_tool_github_copilot_features_attach_image_blob_r3, title = {How do I send an image as a blob attachment in the GitHub Copilot SDK?}, author = {{LatestN}}, year = {2026}, howpublished = {\url{https://latestn.com/tool/github-copilot/features/attach-image-blob}}, note = {Revision 3; digest sha256:a3cad3776c62a535; last verified 2026-11-20T13:08:24Z; accessed 2026-11-21T09:52:23Z} } Reuse: License: CC BY 4.0 (https://creativecommons.org/licenses/by/4.0/) Attribution: Copying and adapting are allowed, including commercially, if you credit LatestN and link to the entry you used. Each entry ends with a ready-made citation. URL: https://latestn.com/tool/github-copilot/features/attach-image-blob