Answer: The hook receives input fields including sessionId, timestamp, cwd/workingDirectory, prompt, and transformedPrompt, and it returns no value to leave the transformed prompt unchanged, or returns modifiedTransformedPrompt to replace the content stored in session history and sent to the model. Status: Confirmed Entry: tool/github-copilot/agents-and-automation/user-prompt-transformed-hook-io Revision: 2 Digest: sha256:b0d9cd6850eb7836 (changes whenever the content changes) Timeline: Created: 2026-11-13T03:28:40Z Last changed: 2026-11-16T12:53:11Z (return to replace: — → modifiedTransformedPrompt) Last verified: 2026-11-20T13:09:12Z Next check: 2026-11-21T13:09:12Z Check interval: Daily Expected change: No fixed schedule Data: Field | Value | Source | As of input fields | sessionId | [1] | 2026-11-20 prompt input | prompt | [1] | 2026-11-20 transformedPrompt input | transformedPrompt | [1] | 2026-11-20 return to leave unchanged | no value | [1] | 2026-11-20 return to replace | modifiedTransformedPrompt | [1] | 2026-11-20 Sources: [1] GitHub. "User prompt transformed hook - GitHub Docs". https://docs.github.com/en/copilot/how-tos/copilot-sdk/hooks/user-prompt-transformed Role: primary. Accessed: 2026-11-20T13:09:12Z Quote: "Input field Type Description sessionId string Runtime session ID" (Supports: input fields) Quote: "prompt string Prompt after user Prompt Submitted hooks" (Supports: prompt input) Quote: "transformedPrompt string Model-facing prompt after runtime transformations" (Supports: transformedPrompt input) Quote: "Return no value to leave the transformed prompt unchanged." (Supports: return to leave unchanged) Quote: "Return modifiedTransformedPrompt to replace the content that is stored in session history and sent to the model." (Supports: return to replace) Snapshot SHA-256: 2a8119be06d42104bccd6768754568a1518061a6d7f507772fe75f88a912a35c (captured 2026-11-18T13:04:26Z) 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:04:26Z, so the values verified then were kept. Cross-check: not-available at 2026-11-20T13:09:12Z. No independent second source is configured for this entry Last successful check: 2026-11-20T13:09:12Z Last attempt: 2026-11-20T13:09:12Z Notes and limitations: Extracted automatically from a single official source (section "Input and output"). Related: https://latestn.com/tool/github-copilot/agents-and-automation/what-are-agent-skills What are agent skills in GitHub Copilot and what can they do? https://latestn.com/tool/github-copilot/agents-and-automation/what-are-copilot-agents What are GitHub Copilot agents and what can they do? https://latestn.com/tool/github-copilot/agents-and-automation/what-are-hooks What is a hook in GitHub Copilot and when should I use one? https://latestn.com/tool/github-copilot/agents-and-automation/user-prompt-hook-signature What input and output does the GitHub Copilot SDK user prompt submitted hook receive and return? https://latestn.com/tool/github-copilot/agents-and-automation/user-prompt-transformed-hook How do I transform a user prompt with a hook in the GitHub Copilot SDK? https://latestn.com/tool/github-copilot/agents-and-automation/user-prompt-transformed-hook-example How do I implement the GitHub Copilot user prompt transformed hook? https://latestn.com/tool/ All entries in AI tools Change log: Time | Event | Change | Source 2026-11-16T12:53:11Z | changed | return to replace: — → modifiedTransformedPrompt | [1] 2026-11-16T12:53:11Z | changed | return to leave unchanged: — → no value | [1] 2026-11-16T12:53:11Z | changed | return modified: modifiedTransformedPrompt → — | [1] 2026-11-16T12:53:11Z | changed | return unchanged: no value → — | [1] 2026-11-13T03:28:40Z | added | Entry created | — Changes for this entry as a feed: https://latestn.com/tool/github-copilot/agents-and-automation/user-prompt-transformed-hook-io/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/agents-and-automation/user-prompt-transformed-hook-io POST: https://latestn.com/dispute/tool/github-copilot/agents-and-automation/user-prompt-transformed-hook-io with claim, evidence_url, and optionally field and contact (form-encoded or JSON) GET: https://latestn.com/dispute/tool/github-copilot/agents-and-automation/user-prompt-transformed-hook-io?claim={what is wrong}&evidence_url={link} How to cite: LatestN. (2026). What input and output does the GitHub Copilot user prompt transformed hook receive and return? Revision 2, last verified 2026-11-20T13:09:12Z. https://latestn.com/tool/github-copilot/agents-and-automation/user-prompt-transformed-hook-io (accessed 2026-11-21T10:05:58Z). @misc{LatestN_tool_github_copilot_agents_and_automation_user_prompt_transformed_hook_io_r2, title = {What input and output does the GitHub Copilot user prompt transformed hook receive and return?}, author = {{LatestN}}, year = {2026}, howpublished = {\url{https://latestn.com/tool/github-copilot/agents-and-automation/user-prompt-transformed-hook-io}}, note = {Revision 2; digest sha256:b0d9cd6850eb7836; last verified 2026-11-20T13:09:12Z; accessed 2026-11-21T10:05:58Z} } 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/agents-and-automation/user-prompt-transformed-hook-io