Create Codecks Space
codecks_create_spaceCreates a new space within an existing Codecks project, with optional icon and default deck type, to organize decks by workflow or topic.
Instructions
Create a new space within an existing project.
Implementation note: this updates the project's spaces array via projects/update.
Args:
project_id (string): Project ID that will own the new space
name (string): Space name
icon (string | null, optional): Optional icon slug (e.g., tasks, gdd)
default_deck_type (string): Default deck type for decks in this space (default: task)
session_id (string, optional): Client session ID from web app
Returns:
The created space with its numeric space_id and project context.
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": {
"project_id": "<project_id>",
"name": "<name>"
},
"name": "codecks_create_space"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| icon | No | Optional icon slug (e.g., tasks, gdd); use null for no icon | |
| name | Yes | Space name | |
| project_id | Yes | Project ID that will own the new space | |
| session_id | No | [DEPRECATED] Client session ID - not required for MCP usage | |
| default_deck_type | No | Default deck type for decks created in this space | task |