Init Workspace
init_workspaceInitialize a project workspace by creating .narrative directories and .active-project, then return a Cursor config snippet for MCP setup.
Instructions
初始化 narrative/projects/{id}/.narrative/、.active-project,并返回 Cursor 配置片段
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>",
"title": "<title>"
},
"name": "init_workspace"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| title | Yes | 项目标题 | |
| project_id | Yes | 项目 ID | |
| description | No | ||
| cursor_mcp_root | No | game-narrative-mcp 安装路径,用于生成 mcp.json | |
| capability_preset | No | 能力预设,如 rog_meta_dynamic | |
| narrative_data_root | No | 叙事数据根,默认 NARRATIVE_DATA_ROOT |