whodb_platform_ontology_action_preview
Preview a behavior action without executing it to check if it is allowed, what changes it would make, and which events it would emit, then confirm before running.
Instructions
Preview a behavior action without executing it: whether it is allowed, the proposed changes and the events it would emit. Show the preview to the user, then execute with whodb_platform_action execute_behavior. 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>",
"action": "<action>"
},
"name": "whodb_platform_ontology_action_preview"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| action | Yes | Behavior action apiName | |
| fields | No | Optional top-level output fields to include | |
| values | No | Action input values | |
| 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 the target record; omit for create-style actions | |
| ontology_id | Yes | Ontology id |