create_resource_type
Define a resource type with its valid actions to set up authorization models before creating resources or policies.
Instructions
Create a resource type. Do this before creating resources or policies. The actions list defines what verbs are valid for this type (e.g. ["read", "write", "delete"]). Policies targeting this type use these action names.
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>",
"actions": "<actions>"
},
"name": "create_resource_type"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | Yes | Resource type name, e.g. "document" or "invoice". Use singular lowercase. | |
| actions | Yes | Actions available on this type, e.g. ["read", "write", "delete", "share"] | |
| description | No | Optional description |