Create Folder
create_folderCreate a SAS Content folder at an absolute, My Folder, or default-folder path, automatically building any missing parent folders; existing folders are returned unchanged.
Instructions
Create a SAS Content folder, including any missing folders above it.
Where it is created:
a path from the top,
/Public/Content/Risk, is created there;My Folder/Riskis created in the user's own My Folder;a relative path,
Risk/2026, is created under the deployment's default folder (MCP_DEFAULT_FOLDER). Without that setting a relative path is refused: ask the user for the full path.
A folder that already exists is returned unchanged (status
exists), so calling twice is safe. The user's SAS Viya permissions
decide where they may create folders; top-level folders such as
Public are made by administrators. For SAS Content only: model projects
live in model repositories (see create_model_project).
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": {
"path": "<path>"
},
"name": "create_folder"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| path | Yes | The folder to create, as described above. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||