Set Active Project
set_active_projectDesignate the active project for the narrative engine by writing the .active-project marker file. Provide the project ID and optional data root.
Instructions
写入数据根 .active-project 标记文件
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": "set_active_project"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| project_id | Yes | 要设为活动的项目 ID | |
| narrative_data_root | No | 数据根,默认 NARRATIVE_DATA_ROOT |