IDH Argus Send (CLI)
AI-generatedSummary
Send a message to IDH Argus by running its CLI through a shell script, passing the configured credentials, workspace details, model, agent, and optional context and files. Return the process exit code, transformed stdout, and stderr for each input item; optional streaming emits response chunks while the command runs.
Inputs
- message — Message sent to the CLI through stdin; defaults to an empty string.
- runtime-context — Dynamic per-message context written to OpenCode's context.md before each run; defaults to empty.
- session-id (required) — Session identifier passed to the CLI.
- model (required) — Model identifier passed to the CLI.
- openrouter-api-key (required) — OpenRouter API key passed to the CLI.
- platform-workspace-search-bearer-token (required) — Workspace search bearer token passed to the CLI.
- platform-kb-cloudflare-token (required) — Knowledge base Cloudflare token passed to the CLI.
- platform-workspace-uuid (required) — Platform workspace UUID passed to the CLI.
- platform-ws-member-uuid (required) — Platform workspace member UUID passed to the CLI.
- platform-base-url (required) — Platform base URL passed to the CLI.
- platform-knowledgebase-skill — Allow or deny the platform-knowledgebase skill in OpenCode; defaults to allow.
- image — CLI container image; defaults to docker.idh.cloud/ai/idh-argus:latest.
- agent — OpenCode agent to use: argus, build, or plan; defaults to argus.
- format — OpenCode output format: Default or JSON; defaults to Default.
- enableStreaming — Whether to emit response chunks in real time; defaults to true and only streams when n8n streaming is active.
- thinking — Whether to enable extended thinking mode; defaults to false.
- parseResponse — When format is JSON, convert recognized OpenCode events into readable Markdown; defaults to false. With JSON format and parsing off, tool-call events are filtered from stdout.
- files — Files to attach, relative to the OpenCode workdir. Enter one filename per line or provide an array; blank entries are ignored.
Output shape
One output item per input item, each containing json.exitCode, json.stdout, and json.stderr.
stdout is raw by default. With JSON format and parsing disabled, recognized tool-call event lines are removed; with parsing enabled, recognized text, reasoning, and completed or errored tool-use events are rendered as Markdown. When continue-on-fail is enabled, caught errors produce an item with json.error instead. Streaming may emit begin, item, end, or error chunks.