← All procedures
cue.validate
Validate dependencies.json
MCPCLI- Package
- @procedures/cue · README
- Path
["cue","validate"]- CLI
mark cue validate- MCP tool
cue.validate on the dev-tools server- As data
{"$proc":["cue","validate"],"input":{}}
Use it
In TypeScript
import { Client, LocalTransport, PROCEDURE_REGISTRY } from "@procedures/client";
import "@procedures/cue"; // registers its procedures
const client = new Client(new LocalTransport({ registry: PROCEDURE_REGISTRY }));
const result = await client.exec(["cue","validate"], {});
console.log(JSON.stringify(result));From the command line
$ mark cue validate
As data, in a program
{ "$proc": ["cue", "validate"], "input": {} }Input
| Field | Type | Required | Default | Description |
|---|
cwd | string | no | | The folder of the package (default: the current folder) |
Output
| Field | Type | Required | Default | Description |
|---|
success | boolean | yes | | True when the validation ran |
valid | boolean | yes | | True when dependencies.json is valid |
features | string[] | yes | | The features of dependencies.json |
errors | string[] | yes | | The problems that the validation found |
message | string | no | | A message about the result |
JSON Schemas
{
"input": {
"type": "object",
"properties": {
"cwd": {
"description": "The folder of the package (default: the current folder)",
"type": "string"
}
}
},
"output": {
"type": "object",
"properties": {
"success": {
"type": "boolean",
"description": "True when the validation ran"
},
"valid": {
"type": "boolean",
"description": "True when dependencies.json is valid"
},
"features": {
"type": "array",
"items": {
"type": "string"
},
"description": "The features of dependencies.json"
},
"errors": {
"type": "array",
"items": {
"type": "string"
},
"description": "The problems that the validation found"
},
"message": {
"description": "A message about the result",
"type": "string"
}
},
"required": [
"success",
"valid",
"features",
"errors"
],
"additionalProperties": {}
}
}