list_collections
Retrieve prompt collections in a workspace and filter by name or workspace to get collection IDs, names, and slugs for selecting a collection before creating or listing prompts.
Instructions
List prompt collections in the workspace, optionally filtering by name or workspace. Returns ids, names, slugs, parent collection ids, and timestamps so you can choose a collection_id before create_prompt, get_collection, or list_prompts.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| search | No | Search collections 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 |
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 |