Create a TaleSpinner Story
create_storyCreate a personalized story and spend the connected account's credits. Call only after the user explicitly approves the credit spend.
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": {
"characterName": "<characterName>",
"characterAge": "<characterAge>",
"characterType": "<characterType>",
"theme": "<theme>",
"approvedCreditSpend": "<approvedCreditSpend>"
},
"name": "create_story"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| theme | Yes | ||
| audience | No | children | |
| pageCount | No | ||
| characterAge | Yes | ||
| characterName | Yes | ||
| characterType | Yes | ||
| storyLanguage | No | en | |
| specialMessage | No | ||
| characterGender | No | ||
| illustratePages | No | all | |
| illustrationStyle | No | vivid | |
| approvedCreditSpend | Yes | True only after the user has explicitly approved spending TaleSpinner credits for this generation. | |
| illustrationQuality | No | medium |