Create a wiki asset folder
wiki_create_asset_folderCreate a new asset folder under a specified parent (default root). If the folder already exists, reuse the existing one.
Instructions
Create a new asset folder under a parent folder (parentFolderId 0 = root). If the folder already exists the error says so — reuse the existing folder in that case.
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": {
"slug": "<slug>"
},
"name": "wiki_create_asset_folder"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | No | Optional display name for the folder. Defaults to the slug upstream. | |
| slug | Yes | URL-safe folder slug (lowercase letters, digits, hyphens, underscores), e.g. 'diagrams'. Becomes a segment of asset URLs. | |
| parentFolderId | No | Parent asset folder id. 0 is the root folder (the default). |