create_discussion
Create a new discussion for a Storyblok story by providing story ID, title, fieldname, block UID, component, language, and an array of message objects.
Instructions
Creates a new discussion for a story via the Storyblok Management API.
Required:
story_id: ID of the story
title: Title of the discussion field
fieldname: Technical name of the discussion field
block_uid: ID of the discussion block
component: Component/block name this discussion belongs to
lang: Language code (e.g., "default", "en")
message_json: Array of message objects [{"type": "text", "text": "...", "attrs": {...}}, ...]
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": {
"story_id": "<story_id>",
"title": "<title>",
"fieldname": "<fieldname>",
"block_uid": "<block_uid>",
"component": "<component>",
"lang": "<lang>",
"message_json": "<message_json>"
},
"name": "create_discussion"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| story_id | Yes | ID of the story | |
| title | Yes | Title of the discussion field | |
| fieldname | Yes | Technical name of the discussion field | |
| block_uid | Yes | ID of the discussion block | |
| component | Yes | Component/block name this discussion belongs to | |
| lang | Yes | Language code (e.g., "default", "en") | |
| message_json | Yes | Array of message objects [{"type": "text", "text": "...", "attrs": {...}}, ...] |