create_prompt_partial
Create reusable prompt partials for inclusion as {{> partial_name}} macros. Returns partial ID, slug, and version ID; version stays inactive until published.
Instructions
Create a reusable prompt partial for inclusion with {{> partial_name}}. Use this for shared snippets or macros; returns the partial id, slug, and version id, and the new version stays inactive until published.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | Yes | Display name for the partial | |
| string | Yes | The partial content/template string | |
| workspace_id | No | Workspace ID to create partial in (required for org-level API keys) | |
| version_description | No | Description for this version |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| ok | Yes | Whether the tool call succeeded and returned structured data | |
| data | No | Structured success payload when ok is true | |
| error | No | Structured error payload when ok is false |