list_collections
List prompt collections in a workspace, with optional name or workspace filtering. Returns IDs, names, slugs, and timestamps to select a collection for subsequent operations.
Instructions
List prompt collections in the workspace, optionally filtering by name or workspace. Returns ids, names, slugs, and timestamps so you can choose a collection_id before create_prompt, get_collection, or list_prompts.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| workspace_id | No | Filter by workspace ID | |
| search | No | Search collections by name | |
| current_page | No | Page number for pagination | |
| page_size | No | Results per page (max 100) |
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 |