describe_template
Get a summary of a document template's structure, including page count, target counts, and sample headings, for quick evaluation.
Instructions
One-call summary of a template's overall shape — page count, target counts by kind, and a small text sample.
USE WHEN: first encounter with a template. You want to know format, page count, presence of tables/images, and a sample of headings before pulling the full target list. DO NOT USE WHEN: you already need the full edit list — go straight to list_template_targets().
Provide the template either as template_path or as template_b64 +
template_filename.
Returns: dict with source_doc_type, total_paragraphs, target_counts
(per target_kind), page_count, top_paragraphs (first 5 non-empty),
has_tables, has_images.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| template_path | No | ||
| template_b64 | No | ||
| template_filename | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||