ANTHROPIC_INVOKE- Send prompts to Claude AI
- Receive structured responses via JSON
ANTHROPIC_INVOKE_WITH_FILE- Send PDFs and images (PNG, JPEG, GIF, WEBP) to Claude together with a prompt
- Receive text or structured responses via JSON
ANTHROPIC_AGENT- Run a Claude Managed Agent loop as a single workflow step, with file read/write/edit and web tools
- Mounts input files for the agent and returns files the agent produces
Connect with an Anthropic API key
For further details, click here. To get an Anthropic API key, please sign up at the official Anthropic website and follow the developer documentaiton. Note: Treat API keys as sensitive information and never commit them to public repositories.Get a response from Claude
Analyze a PDF or image with Claude
ANTHROPIC_INVOKE_WITH_FILE sends the files in file_link to Claude with the prompt. Claude reads charts, tables and scanned pages, not only text. Limits: up to 20 files and 20 MB in total per request; each image up to 3.75 MB and 8000 px per side. prompt is required. Temperature ranges from 0 to 1.
JSON schema size limit
ANTHROPIC_INVOKE and ANTHROPIC_INVOKE_WITH_FILE send json_schema to Claude as a grammar the API enforces, so the answer always matches the schema. Anthropic rejects a schema that is too complex: more than 24 optional fields, more than 16 fields with union types (such as ["string", "null"]), or a compiled grammar that is too large (a few hundred fields; the exact size is not published). The step then fails with an error that says the schema exceeds Anthropic’s structured-output complexity limit. To fit the limit, follow Anthropic’s guidance:
- Make optional fields
required. - Reduce nullable and union types (each
["string", "null"]counts toward the limit). - Flatten nested objects.
- Split the extraction across several steps, each with a smaller schema.
Run a managed Anthropic agent
ANTHROPIC_AGENT runs a Claude Managed Agent that can read, write, and edit files and use web tools autonomously. Input files (up to 20, passed via files) are mounted under /workspace/inputs/ for the agent, and files the agent writes to /mnt/session/outputs/ are returned as result.files — each entry has content, filename, and fileType, shaped so it can be passed directly to a downstream OUTPUT_FILE step. The agent’s final text output is returned as result.content, along with stop_reason and timed_out.
Available models are claude-opus-4-7 (default), claude-sonnet-4-6, and claude-haiku-4-5-20251001. The timeout_sec input sets a hard wall-clock timeout in seconds (60–1800, default 600). If you bring your own Anthropic API key, you must also supply your own agent_id and environment_id in config; in that case the model is fixed on your Anthropic-side Agent and the model selector is ignored.