Create API Collection
unfour.api.create_collectionCreates an API collection in local metadata via the command bus, returning the new collection ID and summary. Allowed in dev/test; blocked in production by workspace policy.
Instructions
Creates an API collection in local Unfour metadata through the command bus. Dev/test allow it; prod blocks by workspace policy. Returns the new collection id and summary.
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_collection"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | Yes | ||
| workspaceId | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||