Docflow Get Or Create Workspace
docflow_get_or_create_workspaceRetrieve a workspace by name or create it if missing, returning the workspace ID to prepare for document automation workflows.
Instructions
Find a workspace by name, or create one if it does not exist.
Returns: workspace_id (str): ID of the workspace. created (bool): True if a new workspace was created.
Use this as Step 1 of every workflow to ensure a workspace is ready.
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": "docflow_get_or_create_workspace"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | Yes | ||
| description | No | ||
| enterprise_id | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||