Get the AI prompts of a principle
get_principle_promptsRetrieve ready-to-use AI prompts tied to a UX/UI principle so you can apply, audit, or refactor an interface; pass the principle slug.
Instructions
Get the ready-to-use AI prompts attached to one principle (prompts to apply, audit or refactor an interface against it). With UXUI_API_KEY set (pro mode) the prompt texts come back in prompts; without it the prompts belong to the paid Principles Library and the tool returns the count and the URL of the guide. Call get_principle first if you only need the summary.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"slug": "<slug>"
},
"name": "get_principle_prompts"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| slug | Yes | The principle slug (e.g., "cognitive-load"). | |
| locale | No | Language of the returned content: "en" (English) or "es" (Spanish). Defaults to "en". | en |