Validate the current project (schema + render-time warnings)
validate_projectRun 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.
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. ALWAYS pass it once a project exists in this conversation; omitting it on a build tool creates a brand-new project. (Omit only on the local stdio server working a single 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 |