validate_config
Validate job configurations for the Jsoncut API by checking schema compliance, resource availability, token costs, and errors before submission.
Instructions
Validate a job configuration against the jsoncut API.
This tool sends the configuration to the API's validation endpoint to check:
Schema compliance
Resource availability
Estimated token cost
Any configuration errors
WHEN TO USE:
ONLY call this tool if the user has provided actual media file paths (e.g., from uploaded files)
DO NOT validate configurations with placeholder paths like "/image/2024-01-15/userXXX/..."
Always call this after creating a configuration when real file paths are available
BENEFITS:
Catches errors before job submission
Provides accurate token cost estimates
Verifies that referenced files exist and are accessible
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| type | Yes | Job type: image or video | |
| config | Yes | The configuration object to validate (from create_image_config or create_video_config) | |
| apiKey | No | API key (optional if JSONCUT_API_KEY env var is set) |