whodb_platform_add_ontology_records
Insert multiple records into a hosted ontology in one call, with idempotency to prevent duplicates and a confirmation token for approval.
Instructions
Add many rows to a hosted ontology in one call.
rows are plain objects keyed by ontology property. Pass idempotency_key so a retried call never inserts duplicates. Default mode returns a confirmation token; do not call whodb_platform_confirm until the user approves the preview. 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": {
"entity_id": "<entity_id>",
"rows": "<rows>"
},
"name": "whodb_platform_add_ontology_records"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| rows | Yes | Rows as objects keyed by ontology property | |
| entity_id | Yes | Ontology id | |
| 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. | |
| idempotency_key | No | Client-chosen key so a retried call does not insert the rows twice |