claude_edit_json
Validate and retry JSON responses from Claude CLI prompts using specified JSON schemas and model selections.
Instructions
Edit with JSON response validation and retry
Input Schema
TableJSON Schema
| Name | Required | Description | Default |
|---|---|---|---|
| prompt | Yes | Prompt to pass to Claude CLI | |
| model | No | Model to use (haiku, sonnet, opus). Default: haiku | |
| maxRetries | No | Maximum retry attempts for JSON validation. Default: 3 | |
| jsonSchema | No | JSON Schema to validate output against | |
| systemPrompt | No | Replace default system prompt | |
| appendSystemPrompt | No | Append to default system prompt |