Apply Story Kit
story_kits_applyCreate or update a Story Kit with optimistic concurrency and an idempotent mutation receipt.
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>",
"visualStyle": "<visualStyle>",
"idempotencyKey": "<idempotencyKey>"
},
"name": "story_kits_apply"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | Yes | Stable Story Kit name. | |
| facts | No | ||
| locations | No | ||
| storyKitId | No | ||
| description | No | ||
| visualStyle | Yes | Canonical visual-style contract. | |
| workspaceId | No | Optional workspace UUID. Defaults to the user's default workspace. UUID string. | |
| characterIds | No | ||
| idempotencyKey | Yes | ||
| expectedRevision | No | ||
| narratorCharacterId | No | ||
| styleReferenceAssetIds | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| storyKit | Yes | ||
| mutationReceipt | Yes |