create_asset_folder
Create and organize asset folders in Storyblok spaces by specifying a name and optional parent folder ID. Simplifies asset management for streamlined workflows.
Instructions
Create a new asset folder in the current Storyblok space.
Parameters:
name (str): Name of the new asset folder.
parent_id (Optional[int]): ID of the parent folder (if nested).
Request Body Example:
{
"asset_folder": {
"name": "My Folder",
"parent_id": 123
}
}
Returns:
Dict[str, Any]: The API response with created folder info or an error message.
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>"
},
"name": "create_asset_folder"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | Yes | ||
| parent_id | No |