list_collections
Retrieve prompt collections in a workspace, filter by name or workspace, and get IDs, names, slugs, parent IDs, and timestamps to select a collection before creating or fetching 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 |