Inspect Template Structure
inspect_template_structureInspect a template document's native structure, tags, and fallback risk before instantiation to verify compatibility and prevent broken generated docs.
Instructions
Inspect a template doc's native structure, tags, and fallback risk before instantiation.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| workspaceId | No | AFFiNE workspace id. Omit only when AFFINE_WORKSPACE_ID is configured. | |
| templateDocId | Yes | The template doc to inspect. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| ok | No | ||
| code | No | ||
| tags | No | ||
| error | No | ||
| title | No | ||
| blocks | No | ||
| noteId | No | ||
| pageId | No | ||
| details | No | ||
| causeCode | No | ||
| retryable | No | ||
| surfaceId | No | ||
| blockCount | No | ||
| workspaceId | No | ||
| rootBlockIds | No | ||
| templateDocId | No | ||
| fallbackReasons | No | ||
| recoveryGuidance | No | ||
| nativeCloneSupported | No |