whodb_platform_ontology_record_capabilities
Check read/write permissions and allowed behavior actions on an ontology record before writing or executing actions, with denial codes.
Instructions
Report which properties the signed-in user can read and write on an ontology record and which behavior actions are allowed, with denial codes. Call before writing or executing actions. Accepts workspace {host, org, project} for per-call targeting without changing defaults.
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": {
"ontology_id": "<ontology_id>"
},
"name": "whodb_platform_ontology_record_capabilities"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| fields | No | Optional top-level output fields to include | |
| workspace | No | Optional target for this call only. Omit to use the session default set by whodb_platform_session_use, then process/saved defaults. Discover targets with whodb_platform_hosts, whodb_platform_orgs and whodb_platform_projects. | |
| record_key | No | Primary key of one record; omit for type-level capabilities | |
| ontology_id | Yes | Ontology id |