code_workspace_chat
Send messages to a code workspace to write code, run commands, analyze files, or propose changes.
Instructions
Send a message to a code workspace — ask it to write code, run commands, analyze files.
Args: workspace_id: The workspace ID to interact with message: Your instruction or question action: Optional coding action such as chat, explain_code, or propose_changes. propose_changes is normalized to preview chat mode for backend compatibility. conversation_id: Optional conversation/thread ID for continuity active_file: Optional active file path to bias the coding agent history: Optional JSON array of prior chat messages attachments: Optional JSON array of attachments context: Optional JSON object with structured coding context policy: Optional JSON object with workspace policy overrides preview_mode: If true, return proposed changes without mutating files auto_push: If true, allow the coding run to auto-push after verification
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| workspace_id | Yes | ||
| message | Yes | ||
| action | No | chat | |
| conversation_id | No | ||
| active_file | No | ||
| history | No | [] | |
| attachments | No | [] | |
| context | No | {} | |
| policy | No | {} | |
| preview_mode | No | ||
| auto_push | No | ||
| idempotency_key | No | ||
| agent_model_selection_id | No | ||
| agent_provider_connection_id | No | ||
| agent_model_id | No | ||
| agent_model_profile_id | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |