IDH Argus Send (API)
AI-generatedSummary
Send each input message to IDH Argus through its API proxy, passing the configured session, model, credentials, workspace settings, and optional runtime context or files. Return the process exit code and captured output, with optional streaming and JSON output transformation.
Inputs
- message — Message sent to OpenCode through the API proxy via standard input.
- runtime-context — Dynamic context written to OpenCode's context.md before each run.
- session-id (required) — IDH Argus session identifier.
- model (required) — Model to use.
- openrouter-api-key (required) — OpenRouter API key.
- platform-workspace-search-bearer-token (required) — Bearer token for platform workspace search.
- platform-kb-cloudflare-token (required) — Cloudflare token for the platform knowledge base.
- platform-workspace-uuid (required) — Platform workspace UUID.
- platform-ws-member-uuid (required) — Platform workspace member UUID.
- platform-base-url (required) — Platform base URL.
- docker-api-url (required) — Docker API URL used by the proxy.
- platform-knowledgebase-skill — Allow or deny the platform-knowledgebase skill in OpenCode; defaults to allow.
- image — Container image to use; defaults to docker.idh.cloud/ai/idh-argus:latest.
- agent — OpenCode agent: argus, build, or plan; defaults to argus.
- format — OpenCode output format: default or JSON. JSON mode filters tool-call events from output.
- enableStreaming — Stream response chunks when enabled and the n8n runtime supports streaming; defaults to true.
- thinking — Enable extended thinking in OpenCode; defaults to false.
- parseResponse — In JSON format, convert recognized OpenCode events to readable Markdown; defaults to false.
- files — Files to attach, relative to the OpenCode work directory. Provide one filename per line or an array.
Output shape
One item per input item, containing a JSON object with exitCode, stdout, and stderr.
stdout is raw in default format, filters tool-call events in JSON format, and is converted from recognized JSON events to Markdown when Parse Response is enabled with JSON format. Streaming emits transformed stdout and stderr chunks when supported; the final item still contains captured output. On failure, the node throws an item-scoped error unless Continue On Fail is enabled, in which case it returns an error field for that item.