Command
Invoke-IntelligenceXChat
Super-easy chat command that handles connect, init, login, thread, and send.
Syntax
Invoke-IntelligenceXChat
[-Text] <string>
[-AllowNetwork]
[-ApiKey <string>]
[-ApprovalPolicy <string>]
[-Arguments <string>]
[-ClientName <string>]
[-ClientTitle <string>]
[-ClientVersion <string>]
[-DownloadImageUrls]
[-Dsl]
[-ExecutablePath <string>]
[-ImageFileNamePrefix <string>]
[-ImagePath <string>]
[-ImageUrl <string>]
[-Instructions <string>]
[-Login <string>]
[-Model <string>]
[-NewThread]
[-OpenBrowser]
[-OverwriteImages]
[-Raw]
[-ReasoningEffort <Minimal| Low| Medium| High| XHigh>]
[-ReasoningSummary <Auto| Concise| Detailed| Off>]
[-SaveImagesTo <string>]
[-Stream]
[-Temperature <double>]
[-TextVerbosity <Low| Medium| High>]
[-WaitSeconds <int>]
[-WorkingDirectory <string>]
[-Workspace <string>]
[<CommonParameters>]#Parameter set:
By TextInvoke-IntelligenceXChat
[-AllowNetwork]
[-ApiKey <string>]
[-ApprovalPolicy <string>]
[-Arguments <string>]
[-ClientName <string>]
[-ClientTitle <string>]
[-ClientVersion <string>]
[-DownloadImageUrls]
[-Dsl]
[-ExecutablePath <string>]
[-ImageFileNamePrefix <string>]
[-ImagePath <string>]
[-ImageUrl <string>]
[-InputObject <string>]
[-Instructions <string>]
[-Login <string>]
[-Model <string>]
[-NewThread]
[-OpenBrowser]
[-OverwriteImages]
[-Raw]
[-ReasoningEffort <Minimal| Low| Medium| High| XHigh>]
[-ReasoningSummary <Auto| Concise| Detailed| Off>]
[-SaveImagesTo <string>]
[-Stream]
[-Temperature <double>]
[-TextVerbosity <Low| Medium| High>]
[-WaitSeconds <int>]
[-WorkingDirectory <string>]
[-Workspace <string>]
[<CommonParameters>]#Parameter set:
By InputObjectExamples
Example 1
Invoke-IntelligenceXChat -Text "Summarize these changes."Quick chat
Example 2
Invoke-IntelligenceXChat -Text "List risks." -Stream -WaitSeconds 10Chat with streaming output
Example 3
@"
text: Describe the image
image: C:\temp\diagram.png
"@ | Invoke-IntelligenceXChat -DslUse the DSL to mix text and an image
Example 4
Invoke-IntelligenceXChat -Text "Hello" -Login ApiKey -ApiKey $env:OPENAI_API_KEYUse API key login
Example 5
Invoke-IntelligenceXChat -Text "Run tests" -Workspace "C:\repo" -AllowNetworkRun with a workspace sandbox and network access
Parameters
- -Text string
- Message text to send.
- -AllowNetwork SwitchParameter
- Allow network access when using a workspace sandbox.
- -ApiKey string
- API key to use when Login is ApiKey.
- -ApprovalPolicy string
- Approval policy (for example auto).
- -Arguments string
- Codex app-server arguments.
- -ClientName string
- Client name for initialization.
- -ClientTitle string
- Client title for initialization.
- -ClientVersion string
- Client version for initialization.
- -DownloadImageUrls SwitchParameter
- Download image URLs when saving images.
- -Dsl SwitchParameter
- Parse Text as a simple DSL (lines starting with image:, url:, text:).
- -ExecutablePath string
- Codex executable path.
- -ImageFileNamePrefix string
- Prefix for saved image file names.
- -ImagePath string
- Image file path to include with the message.
- -ImageUrl string
- Image URL to include with the message.
- -Instructions string
- System instructions for the assistant.
- -Login string
- Login method: ChatGpt, ApiKey, or None.
- -Model string
- Model identifier. Defaults to gpt-5.3-codex.
- -NewThread SwitchParameter
- Reset thread before sending.
- -OpenBrowser SwitchParameter
- Open the login URL in the default browser.
- -OverwriteImages SwitchParameter
- Overwrite existing files when saving images.
- -Raw SwitchParameter
- Return raw JSON response.
- -ReasoningEffort ReasoningEffort
- Reasoning effort level. Possible values: Minimal, Low, Medium, High, XHigh
- Possible values:
Minimal,Low,Medium,High,XHigh - -ReasoningSummary ReasoningSummary
- Reasoning summary level. Possible values: Auto, Concise, Detailed, Off
- Possible values:
Auto,Concise,Detailed,Off - -SaveImagesTo string
- Save image outputs to the specified directory.
- -Stream SwitchParameter
- Write streaming deltas to the host.
- -Temperature double
- Sampling temperature.
- -TextVerbosity TextVerbosity
- Response verbosity level. Possible values: Low, Medium, High
- Possible values:
Low,Medium,High - -WaitSeconds int
- Wait N seconds for streaming output after sending.
- -WorkingDirectory string
- Working directory for app-server.
- -Workspace string
- Workspace directory for file writes (sets sandbox policy).
- -InputObject string
- Pipeline input for DSL lines (text, image, url).
Common Parameters
This command supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutVariable, -OutBuffer, -PipelineVariable, -Verbose, -WarningAction, and -WarningVariable.
For more information, see about_CommonParameters.