Dokümanı doğrula
validate_documentValidates editor documents or section definitions without saving. Provide either sections or a full document; returns errors with paths or a normalized document ready for saving.
Instructions
Kaydetmeden doğrular. Ya sections (yazarlık biçimi: type/props/variant/slots) ya da document (tam {root,content,zones}) verin. Hatalar yol + açıklama ile döner; ok=true ise normalizedDocument kaydedilebilir haldedir.
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "validate_document"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| document | No | Tam editör dokümanı {root, content, zones} | |
| sections | No |