-
Notifications
You must be signed in to change notification settings - Fork 158
Open
Labels
enhancementNew feature or requestNew feature or request
Description
Describe the feature or problem you'd like to solve
A structured output mode to easily consume the output in other tools.
Proposed solution
My proposed solution is something similar to:
- Claude Code's
--output-format stream-json
- Codex CLI's
--json
The above tools provide their output in JSONL format with each interaction (tool use, assistant messages, etc) being supplied in an easily-parsed JSON format.
This makes integration with external tools simpler, allowing the agentic functionality of copilot
to be easily used from scripts, third-party tools, etc.
Example prompts or workflows
- Integration with ad-hoc scripting (combined with the existing
-p
flag to supply a task) - output can be parsed usingjq
or similar to receive results or error codes. - Integration with 3rd-party tools - output can be parsed and presented in the native interface of that tool, making it easier to integrate well with the Copilot AI ecosystem.
- Automated testing - make it easier to parse and reason about the output when evaluating prompts or testing MCP integrationsl.
Additional context
No response
vwnj84, britannio and 606
Metadata
Metadata
Assignees
Labels
enhancementNew feature or requestNew feature or request