Nodes/ERPK Collection/Claude Structured Output
ComfyUI Node

Claude Structured Output

Force Claude to respond with structured JSON via tool use.

By eRepublik-Labs·Created 10 months ago·Updated about a month ago· 0
Claude Structured Output
  • tool
  • client
  • json_output
  • thinking
prompt
seed-1
system_prompt
temperature0.00
max_tokens4096
CategoryERPK/Claude/Tools

Inputs (7)

NameTypeDefaultDescription
promptSTRINGPrompt describing what to extract or generate
toolCLAUDE_TOOLSTool definition (must contain exactly 1 tool)
seedINT-1-1–2147483647Seed for cache control. Randomizes by default to ensure fresh results each run.
clientoptCLAUDE_API_CLIENTClaude API client (optional if API key is configured in Settings)
system_promptoptSTRINGOptional system prompt to guide extraction behavior
temperatureoptFLOAT0.000–1Low values for consistent output (0.0 recommended)
max_tokensoptINT4096256–8192Maximum tokens for the response

Outputs (2)

NameTypeDescription
json_outputSTRING
thinkingSTRING