Anthropic · Schema
TemplatizePromptResponse
LLMAnthropicArtificial IntelligenceClaudeFoundation ModelsMachine LearningMCPAgents
Properties
| Name | Type | Description |
|---|---|---|
| messages | array | The templatized prompt with variable placeholders. The response includes the input messages with specific values replaced by variable placeholders. These messages maintain the original message structu |
| system | string | The input system prompt with variables identified and replaced. If no system prompt was provided in the original request, this field will be an empty string. |
| usage | object | |
| variable_values | object | A mapping of template variable names to their original values, as extracted from the input prompt during templatization. Each key represents a variable name identified in the templatized prompt, and e |
JSON Schema
{
"$schema": "https://json-schema.org/draft/2020-12/schema",
"$id": "https://raw.githubusercontent.com/api-evangelist/anthropic/main/json-schema/anthropic-templatize-prompt-response-schema.json",
"title": "TemplatizePromptResponse",
"x-generated": "2026-09-23",
"x-method": "derived",
"x-generator": "derive-json-schema.py",
"x-source": "openapi/anthropic-prompt-templatization-api-openapi.yml#/components/schemas/TemplatizePromptResponse",
"type": "object",
"required": [
"messages",
"system",
"usage",
"variable_values"
],
"properties": {
"messages": {
"type": "array",
"description": "The templatized prompt with variable placeholders.\nThe response includes the input messages with specific\nvalues replaced by variable placeholders. These messages\nmaintain the original message structure but contain\nuppercase variable names in place of concrete values.\n",
"items": {
"$ref": "#/$defs/PromptMessage"
}
},
"system": {
"type": "string",
"description": "The input system prompt with variables identified and replaced.\nIf no system prompt was provided in the original request,\nthis field will be an empty string.\n"
},
"usage": {
"$ref": "#/$defs/UsageInfo"
},
"variable_values": {
"type": "object",
"description": "A mapping of template variable names to their original\nvalues, as extracted from the input prompt during\ntemplatization. Each key represents a variable name\nidentified in the templatized prompt, and each value\ncontains the corresponding content from the original\nprompt that was replaced by that variable.\n",
"additionalProperties": {
"type": "string"
}
}
},
"$defs": {
"PromptMessage": {
"type": "object",
"required": [
"role",
"content"
],
"properties": {
"role": {
"type": "string",
"enum": [
"user",
"assistant"
],
"description": "The role of the message sender"
},
"content": {
"type": "array",
"description": "The content of the message",
"items": {
"$ref": "#/$defs/TextContentBlock"
}
}
}
},
"TextContentBlock": {
"type": "object",
"required": [
"type",
"text"
],
"properties": {
"type": {
"type": "string",
"enum": [
"text"
],
"description": "The type of content block"
},
"text": {
"type": "string",
"description": "The text content"
}
}
},
"UsageInfo": {
"type": "object",
"description": "Usage information",
"required": [
"input_tokens",
"output_tokens"
],
"properties": {
"input_tokens": {
"type": "integer",
"description": "Number of input tokens used",
"minimum": 0
},
"output_tokens": {
"type": "integer",
"description": "Number of output tokens generated",
"minimum": 0
}
}
}
}
}
Work with this as data
Every JSON Schema here is available over the APIs.io API and to AI agents over MCP.
MCP server
One button, every client — Claude, Cursor, VS Code and the rest.
https://apis.io/mcp
Tools for schemas
4 MCP tools reach this
find_json_schemasBrowse and filter every JSON Schema in the catalog.apis_io_searchSTART HERE — APIs, providers and tags for one query, each with its total.resolveTurn a domain, URL or GitHub org into the provider it belongs to.find_cohortsEvery scored population of providers in the catalog.
Call it yourself
curl for this page
This JSON Schema
curl "https://apis.io/api/v1/json-schemas/anthropic-templatize-prompt-response"
All schemas
curl "https://apis.io/api/v1/json-schemas?limit=25"
Discovery needs no key. Ratings and market analysis are Pro.
Get an API key
Free tier, no form to fill in. Signing in shares your email address with us — we store it to create your key and to recognise you if you sign in with another provider. See our Privacy Policy and Terms.
A second provider on the same verified email joins the account you already have.