Validate the current project (schema + render-time warnings)
validate_projectValidate a Clipkit project for render-time issues: catches non-ASCII text, elements past composition end, and missing duration even when JSON passes schema. Use before sharing or rendering.
Instructions
Run the @clipkit/protocol validator against the current project AND surface render-time warnings even when the JSON is valid — things that pass the schema but the runtime will silently drop or clip: emoji / non-ASCII text (the runtime font atlas is ASCII-only), elements that run past the composition end, a missing top-level duration. Run it before you share or render the project. For a fuller timeline read-back, use describe_project.
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "validate_project"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| project_id | No | Which project to act on — the id returned by create_project / set_project / create_promo / load_project. Omit when working on a single local project. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| valid | Yes | ||
| width | No | ||
| errors | No | ||
| height | No | ||
| duration | No | ||
| warnings | No | ||
| error_count | Yes | ||
| unknown_keys | No | ||
| element_count | No |