ps_validate
Validate PromptSpeak frames to identify errors, warnings, and suggestions before execution, ensuring proper structure and semantics for AI agent governance.
Instructions
Validate a PromptSpeak frame. Returns validation report with errors, warnings, and suggestions.
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": {
"frame": "<frame>"
},
"name": "ps_validate"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| frame | Yes | The PromptSpeak frame to validate (e.g., "⊕◊▶β") | |
| parentFrame | No | Optional parent frame for chain validation | |
| validationLevel | No | Level of validation to perform | |
| strict | No | If true, warnings also cause validation failure |