ComfyUI Node
Claude Structured Output
Force Claude to respond with structured JSON via tool use.
Claude Structured Output
- tool
- client
- json_output
- thinking
◄prompt►
◄seed-1►
◄system_prompt►
◄temperature0.00►
◄max_tokens4096►
CategoryERPK/Claude/Tools
Inputs (7)
| Name | Type | Default | Description |
|---|---|---|---|
| prompt | STRING | Prompt describing what to extract or generate | |
| tool | CLAUDE_TOOLS | Tool definition (must contain exactly 1 tool) | |
| seed | INT | -1-1–2147483647 | Seed for cache control. Randomizes by default to ensure fresh results each run. |
| clientopt | CLAUDE_API_CLIENT | Claude API client (optional if API key is configured in Settings) | |
| system_promptopt | STRING | Optional system prompt to guide extraction behavior | |
| temperatureopt | FLOAT | 0.000–1 | Low values for consistent output (0.0 recommended) |
| max_tokensopt | INT | 4096256–8192 | Maximum tokens for the response |
Outputs (2)
| Name | Type | Description |
|---|---|---|
| json_output | STRING | — |
| thinking | STRING | — |