list_prompts
Retrieve a paginated list of prompts across a workspace, filtered by collection, workspace, or name, with id, name, slug, model, and status to identify a prompt_id for later prompt actions.
Instructions
List prompts across the workspace, with optional collection, workspace, or search filters. Returns a paginated summary with id, name, slug, model, and status so you can choose a prompt_id before get_prompt, update_prompt, or render_prompt.
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "list_prompts"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| search | No | Search prompts by name | |
| page_size | No | Results per page (max 100) | |
| current_page | No | Zero-based page number; the first page is 0 | |
| workspace_id | No | Filter by workspace ID | |
| collection_id | No | Filter by collection ID (recommended for app-specific prompts) |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| ok | Yes | Call succeeded | |
| data | No | Success payload | |
| error | No | Failure details |