Validate guide
validate_guideCheck a guide before saving it: unknown [DIRECTIVES], undefined {VARIABLES}, secrets typed literally, steps that cannot execute, missing "Go to" start, length versus the 5-minute cap. Returns problems with line numbers and a corrected example for each, and an estimated video length. Costs nothing. Call get_guide_instructions before writing a guide.
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": {
"content": "<content>",
"kind": "<kind>"
},
"name": "validate_guide"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| kind | Yes | auth = login steps (empty for a page without a sign-in); main = the walkthrough that becomes the video. | |
| device | No | Check for a phone or tablet run (a preset such as iphone or ipad): warns about hover steps and large zooms. Default: the project's device. | |
| content | Yes | The guide text to check, one step per line. | |
| project_id | No | When given, {VARIABLES} are checked against the project. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| help | No | Where to read the rules, when there are problems. | |
| passed | Yes | true when there are no problems; warnings alone do not fail a guide. | |
| problems | Yes | Must be fixed before put_guide. | |
| warnings | Yes | Worth fixing; the guide still records. | |
| action_steps | Yes | Steps the browser performs (directive-only lines excluded). | |
| estimated_length | Yes | Rough video length, e.g. "2:10". |