Create a JsonFabrica template
jsonfabrica_create_templateCreate reusable templates from function-call placeholders to generate realistic JSON test data on demand, or produce a sample document immediately in the same call.
Instructions
Calls POST /v1/templates. Creates a reusable template. body uses JsonFabrica's function-call placeholder syntax, e.g. "Hello {{getRandomFullName()}}" or "<getRandomNumber(1,100)>" — see the data-generation-functions reference for the full catalog. If generate is provided, a document is generated from the newly-created template in the same call (response includes generation or generationError alongside template); if omitted, the response is just the created template.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| body | Yes | Template body containing at least one function-call placeholder. | |
| name | Yes | Template name. | |
| tags | No | ||
| generate | No | ||
| description | No |