Prompts
Search, read, create, and version prompts. The platform compiles the final prompt text from the task and the referenced building blocks.
search_promptsget_promptlist_prompt_versionsget_prompt_versioncreate_promptupdate_promptset_prompt_visibility
search_prompts read-only
Search or list prompts on prompty.tools. Returns summaries including the compiled prompt text. Use get_prompt for full details of a specific prompt.
| Parameter | Type | Required | Description |
|---|---|---|---|
page | integer | no | 1-based page number. Default: 1. |
pageSize | 6 | 12 | 24 | 48 | 100 | no | Items per page. The server only accepts these exact values. Default: 12. |
sort | "newest" | "most-upvoted" | "most-favorited" | no | Sort order. Default: newest. |
scope | "public" | "mine" | "favorites" | "all" | no | public = community items, mine = the user's own items, favorites = items the user favorited, all = everything accessible to the user. Default: public. |
search | string | no | Full-text search over title and description. Max 200 characters. |
tag | string | no | Filter by a single tag (exact match). |
{
"name": "search_prompts",
"arguments": {}
}
get_prompt read-only
Fetch one prompt by id, including its server-compiled prompt text (compiledPrompt), the task, referenced building blocks, tags, and version metadata.
| Parameter | Type | Required | Description |
|---|---|---|---|
id | string | yes | Prompt id. |
{
"name": "get_prompt",
"arguments": {
"id": "..."
}
}
list_prompt_versions read-only
List the version history of a prompt (newest first).
| Parameter | Type | Required | Description |
|---|---|---|---|
id | string | yes | Prompt id. |
page | integer | no | 1-based page number. Default: 1. |
pageSize | 10 | 20 | 50 | no | Items per page. The server only accepts these exact values. Default: 20. |
{
"name": "list_prompt_versions",
"arguments": {
"id": "..."
}
}
get_prompt_version read-only
Fetch one specific version of a prompt, including the compiled prompt text as of that version.
| Parameter | Type | Required | Description |
|---|---|---|---|
id | string | yes | Prompt id. |
versionId | string | yes | Version id, from list_prompt_versions. |
{
"name": "get_prompt_version",
"arguments": {
"id": "...",
"versionId": "..."
}
}
create_prompt write · non-destructive
Create a prompt from a task plus optional building-block references; the platform compiles the final prompt text server-side. Returns the new prompt's id - call get_prompt to retrieve the compiled text.
| Parameter | Type | Required | Description |
|---|---|---|---|
title | string | yes | Prompt title. |
task | string | yes | The task instruction at the heart of the prompt. |
isPublic | boolean | yes | true publishes the item to the public community feed; false keeps it private to the user. Required: choose deliberately, server defaults are not applied. |
description | string | no | Short description of what the prompt is for. |
personaVersionId | string | no | Persona VERSION id (not the persona id). Obtain it from latestVersionId on get_persona, versionId on search_personas items, or versionId from create_persona. |
outputId | string | no | Output format id, from search_outputs or create_output. |
toneIds | string[] | no | Tone ids, from search_tones or create_tone. Must be accessible to the user. |
constraintIds | string[] | no | Constraint ids, from search_constraints or create_constraint. Must be accessible to the user. |
tags | string[] | no | Tags for categorisation and tag-filtered search. |
{
"name": "create_prompt",
"arguments": {
"title": "...",
"task": "...",
"isPublic": false
}
}
update_prompt write · non-destructive
Update a prompt by creating a new version. Takes the FULL new state (title, task, building-block references), not a partial diff; omitted building blocks are removed from the new version. Earlier versions remain accessible.
| Parameter | Type | Required | Description |
|---|---|---|---|
id | string | yes | Prompt id. |
title | string | yes | New title. |
task | string | yes | New task instruction. |
changelog | string | yes | Required: short summary of what changed. |
description | string | no | New description. |
personaVersionId | string | no | Persona VERSION id (not the persona id). Obtain it from latestVersionId on get_persona, versionId on search_personas items, or versionId from create_persona. |
outputId | string | no | Output format id, from search_outputs or create_output. |
toneIds | string[] | no | Tone ids, from search_tones or create_tone. Must be accessible to the user. |
constraintIds | string[] | no | Constraint ids, from search_constraints or create_constraint. Must be accessible to the user. |
tags | string[] | no | Tags for categorisation and tag-filtered search. |
{
"name": "update_prompt",
"arguments": {
"id": "...",
"title": "...",
"task": "...",
"changelog": "..."
}
}
set_prompt_visibility write · idempotent
Make a prompt public (community-visible) or private. Reversible.
| Parameter | Type | Required | Description |
|---|---|---|---|
id | string | yes | Prompt id. |
isPublic | boolean | yes | true = public, false = private. |
{
"name": "set_prompt_visibility",
"arguments": {
"id": "...",
"isPublic": false
}
}