Create API Environment
unfour.api.create_environmentCreates an empty API environment in local Unfour metadata via the command bus, so dev and test workspaces can be set up while production stays blocked by policy.
Instructions
Creates an empty API environment in local Unfour metadata through the command bus. Dev/test allow it; prod blocks by workspace policy.
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": "unfour.api.create_environment"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | Yes | ||
| workspaceId | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||