can_create_child
Checks if the current user can create a child resource of a specified type within a given parent in the workspace.
Instructions
Check whether the current user can create a child resource inside a parent.
workspace_id: target workspace ID — get available IDs from list_workspaces()
Example: can the user create a "Channel" inside a "HubProfile"?
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": {
"parent_target_type": "<parent_target_type>",
"parent_target_id": "<parent_target_id>",
"child_target_type": "<child_target_type>",
"workspace_id": "<workspace_id>"
},
"name": "can_create_child"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| workspace_id | Yes | ||
| parent_target_id | Yes | ||
| child_target_type | Yes | ||
| parent_target_type | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |