Get a public StyleKit asset
stylekit_get_assetRetrieve one public asset by its exact kind and id. Source is returned only where the asset's contentLevel and license permit it. Remote templates include their actual file set only when the live source is available; if it is down, the tool returns a structured unavailable error with safe metadata and does not treat a download URL as source code. External and restricted assets expose metadata, license, attribution and source links only.
Args:
kind: the namespace returned by stylekit_list_assets.
id: the exact identifier within that namespace.
includeSource (boolean, default true): include permitted source files/code; false returns metadata and links only.
files (array, optional): exact source file paths to include (templates); omit for all files. Unmatched paths are reported as missingFiles.
Returns complete structured JSON and JSON text, preserving the namespace and provenance.
Examples:
"show me the pricing template" -> kind: "template", id from stylekit_list_assets.
"just the page and styles" -> kind: "template", files: ["app/page.tsx", "app/globals.css"].
A full template can return tens of thousands of characters; use includeSource: false or files to keep it small.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| id | Yes | Exact asset id within the namespace | |
| kind | Yes | Public asset namespace | |
| files | No | Exact source file paths to include | |
| includeSource | No | Include permitted source files/code; false returns metadata only |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| code | No | ||
| data | Yes | ||
| source | Yes | ||
| license | No | ||
| metadata | Yes | ||
| sourceUrls | Yes | ||
| attribution | No | ||
| capabilities | Yes | ||
| codeLanguage | No | ||
| dependencies | Yes | ||
| schemaVersion | Yes | ||
| fallbackReason | No |