Validate a pcfhub.json
validate_manifestCheck a pcfhub.json against the rules PCFHub applies when it publishes a control: the schema version, the control block (namespace, constructor, type and framework), the demo's fidelity, bundle and presets, the media files it declares, and the release artifacts it expects to find. Use it while writing or reviewing that file, before a release is tagged. An invalid manifest is an ordinary result — valid false, with errors that block publishing and warnings that do not, each carrying the JSON pointer it applies to — so read the result rather than retrying. Only an empty, unreadable or oversized manifest (over 64 KB) is an error.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"manifest": "<manifest>"
},
"name": "validate_manifest"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| manifest | Yes | The full contents of pcfhub.json, as JSON text. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| valid | Yes | False when there is at least one error. Warnings alone leave it true. | |
| errors | Yes | Must be fixed; publishing refuses the manifest until they are. | |
| warnings | Yes | Do not block publishing, but reach the author through their own CI. | |
| schemaVersion | Yes | The manifest schema version it was checked against. |