axint.templates.get
Retrieve a specific template's TypeScript source code by ID. Get a complete, compilable defineIntent() file ready to save and edit before compiling.
Instructions
Retrieve the full TypeScript source code of a specific bundled template by id. Returns a complete, compilable defineIntent() file as a string — ready to save as .ts and compile with axint.compile. Includes perform() logic, parameter definitions, and... Use: use to fetch a complete reference template; edit before compiling into an app. Effects: read-only template source; writes no files and uses no network.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| id | Yes | Template id from axint.templates.list, e.g., 'send-message' or 'create-event'. Case-sensitive, kebab-case... |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| text | Yes | Primary Axint tool response text, matching the first text content block. | |
| isError | No | Whether Axint marked the tool response as an error. |