KosmoKrator

documents

API Template IO MCP, CLI, and Lua Integration for AI Agents

API Template IO integration docs for AI agents: MCP gateway setup, API Template IO CLI commands, Lua API reference, credentials, and function schemas.

5 functions 3 read 2 write API key auth

API Template IO for agents

Credentials can be configured manually in web or CLI hosts.

Use this integration from Lua code mode, the headless integrations CLI, or the KosmoKrator MCP gateway. The same package metadata powers all three surfaces.

Machine-Readable Metadata
integration_slug
apitemplateio
route_slug
apitemplateio
package
apitemplateio
auth_strategy
api_key API key
cli_setup_supported
true
cli_runtime_supported
true
mcp_gateway_supported
true
lua_supported
true
supports_multi_account
true

Quick Links

API Template IO MCP Client Matrix

Use these pages when a specific agent client or framework needs copy-pasteable MCP setup for API Template IO.

API Template IO CLI Matrix

Use these pages for direct API Template IO CLI workflows in scripts, CI, cron, and agent wrappers.

Function Catalog

FunctionTypeParametersDescription
apitemplateio.apitemplateio_create_pdf Write write 5 Generate a PDF document from an API Template IO template. Provide a template ID and the data to merge into the template.
apitemplateio.apitemplateio_create_image Write write 6 Generate an image (PNG or JPEG) from an API Template IO template. Provide a template ID, data, and the desired output format.
apitemplateio.apitemplateio_list_templates Read read 3 List available templates in API Template IO. Returns a paginated list of template IDs, names, and metadata.
apitemplateio.apitemplateio_get_template Read read 1 Get details for a specific API Template IO template by ID. Returns the template definition, schema, and configuration.
apitemplateio.apitemplateio_get_current_user Read read 0 Get the current authenticated user's account information from API Template IO, including usage and subscription details.