Answer: You can provide citable sources in two ways: attach documents to a message (file attachments are sent as document blocks with citations turned on when citations are enabled and the session uses an Anthropic provider), or return citable sources from a tool using the experimental citableSources array. Status: Confirmed Entry: tool/github-copilot/features/provide-citable-sources Revision: 3 Digest: sha256:6b14bc4edd307121 (changes whenever the content changes) Timeline: Created: 2026-11-13T03:27:50Z Last changed: 2026-11-18T13:03:07Z (Optional entry fields: — → id and optional title , url , and path) Last verified: 2026-11-20T13:08:03Z Next check: 2026-11-21T13:08:03Z Check interval: Daily Expected change: No fixed schedule Data: Field | Value | Source | As of Method 1 | Attach documents to a message | [1] | 2026-11-20 Method 2 | Return citable sources from a tool | [1] | 2026-11-20 Provider requirement for attachments | Anthropic provider | [1] | 2026-11-20 Tool result field | citableSources | [1] | 2026-11-20 Optional entry fields | id and optional title , url , and path | [1] | 2026-11-20 Sources: [1] GitHub. "Citations - GitHub Docs". https://docs.github.com/en/copilot/how-tos/copilot-sdk/features/citations Role: primary. Accessed: 2026-11-20T13:08:03Z Quote: "Attach documents to a message" (Supports: Method 1) Quote: "Return citable sources from a tool" (Supports: Method 2) Quote: "the session uses an Anthropic provider, file attachments are sent as document blocks with citations turned on" (Supports: Provider requirement for attachments) Quote: "Tool results carry an experimental citableSources array." (Supports: Tool result field) Quote: "along with an id and optional title , url , and path ." (Supports: Optional entry fields) Snapshot SHA-256: fae4b29414f1bd153da6460ac33b10090b6ea384d22d10cf0def84dc308adb6f (captured 2026-11-18T13:03:04Z) 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:07Z, so the values verified then were kept. Cross-check: not-available at 2026-11-20T13:08:03Z. No independent second source is configured for this entry Last successful check: 2026-11-20T13:08:03Z Last attempt: 2026-11-20T13:08:03Z Notes and limitations: Extracted automatically from a single official source (section "Provide citable sources"). Related: https://latestn.com/tool/github-copilot/features/pull-request-questions How do I ask GitHub Copilot Chat about a pull request? https://latestn.com/tool/github-copilot/features/pull-request-summary How do I create a pull request summary with GitHub Copilot? https://latestn.com/tool/github-copilot/features/queueing-enqueue-mode How do I queue messages in the GitHub Copilot SDK instead of interrupting the current turn? https://latestn.com/tool/github-copilot/features/prompt-engineering How do I write effective prompts for GitHub Copilot? https://latestn.com/tool/github-copilot/features/prompt-file-examples What are examples of using prompt files in GitHub Copilot? https://latestn.com/tool/github-copilot/features/prompt-file-examples-2 What prompt file examples are available in the GitHub Copilot customization library? https://latestn.com/tool/ All entries in AI tools Change log: Time | Event | Change | Source 2026-11-18T13:03:07Z | changed | Optional entry fields: — → id and optional title , url , and path | [1] 2026-11-18T13:03:07Z | changed | Provider requirement for attachments: — → Anthropic provider | [1] 2026-11-18T13:03:07Z | changed | Entry fields: id and optional title , url , and path → — | [1] 2026-11-16T12:51:56Z | changed | Method 2: — → Return citable sources from a tool | [1] 2026-11-16T12:51:56Z | changed | Method 1: — → Attach documents to a message | [1] 2026-11-16T12:51:56Z | changed | Persistence: persisted with the tool result → — | [1] 2026-11-16T12:51:56Z | changed | Entry fields: id → id and optional title , url , and path | [1] 2026-11-16T12:51:56Z | changed | Tool method: Return citable sources from a tool → — | [1] 2026-11-16T12:51:56Z | changed | Provider requirement for attachments: Anthropic provider → — | [1] 2026-11-16T12:51:56Z | changed | Attachment method: Attach documents to a message → — | [1] 2026-11-13T03:27:50Z | added | Entry created | — Changes for this entry as a feed: https://latestn.com/tool/github-copilot/features/provide-citable-sources/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/provide-citable-sources POST: https://latestn.com/dispute/tool/github-copilot/features/provide-citable-sources with claim, evidence_url, and optionally field and contact (form-encoded or JSON) GET: https://latestn.com/dispute/tool/github-copilot/features/provide-citable-sources?claim={what is wrong}&evidence_url={link} How to cite: LatestN. (2026). How do I provide citable sources to GitHub Copilot SDK, such as attaching documents or returning sources from a tool? Revision 3, last verified 2026-11-20T13:08:03Z. https://latestn.com/tool/github-copilot/features/provide-citable-sources (accessed 2026-11-21T09:53:02Z). @misc{LatestN_tool_github_copilot_features_provide_citable_sources_r3, title = {How do I provide citable sources to GitHub Copilot SDK, such as attaching documents or returning sources from a tool?}, author = {{LatestN}}, year = {2026}, howpublished = {\url{https://latestn.com/tool/github-copilot/features/provide-citable-sources}}, note = {Revision 3; digest sha256:6b14bc4edd307121; last verified 2026-11-20T13:08:03Z; accessed 2026-11-21T09:53:02Z} } 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/provide-citable-sources