create_collection
Create a prompt collection to organize prompts by app, optionally nested under an existing collection. Use it to establish a namespace before adding prompts; returns the collection ID and slug.
Instructions
Create a new prompt collection for organizing prompts by app. Use this when you need a new namespace before create_prompt; set parent_collection_id to nest it under an existing collection. Returns the collection id and slug, and does not move any prompts.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"name": "<name>"
},
"name": "create_collection"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | Yes | Collection name (e.g., 'hourlink', 'apizone', 'research-pilot') | |
| workspace_id | No | Workspace ID to create collection in | |
| parent_collection_id | No | ID or slug of the parent collection to nest under; omit for a top-level collection |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| ok | Yes | Call succeeded | |
| data | No | Success payload | |
| error | No | Failure details |