Add Branch Edge
add_branch_edgeAdd conditional branch edges to game narratives, linking nodes with flags, knowledge, or relationship conditions to control story flow and branching logic.
Instructions
添加带条件的分支边
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": {
"id": "<id>",
"from_id": "<from_id>",
"to_id": "<to_id>"
},
"name": "add_branch_edge"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| id | Yes | ||
| label | No | ||
| to_id | Yes | ||
| from_id | Yes | ||
| conditions | No | ||
| project_id | No | ||
| branch_kind | No |