# get_template_fields The get_template_fields MCP tool lists a document template's tags, the data names it uses and a JSON skeleton of the data to fill, so an AI agent knows exactly what to supply ......and pass to [`assemble_document`]({{< ref "assembly/mcp/tools-r...eference/assemble-document.md" >}}) as `dataJson`. Nothing is...