whodb_platform_clone
Clone a dataset, ontology, transform, or function in a selected project. Preview with a confirmation token, then confirm after user approval.
Instructions
Clone a hosted dataset, ontology, transform, or function in the selected project.
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.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| source | Yes | Source resource id, name, or api name | |
| new_name | Yes | New resource name or ontology api name/display name | |
| resource | Yes | Resource to clone: dataset, ontology, transform, or function | |
| 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. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| error | No | ||
| scope | No | ||
| status | No | ||
| warning | No | ||
| commands | No | ||
| recovery | No | ||
| retryable | No | ||
| 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. | |
| error_code | No | ||
| next_steps | No | ||
| request_id | No | ||
| result_json | No | ||
| setup_status | No | ||
| suggested_tools | No | ||
| confirmation_token | No | ||
| confirmation_action | No | ||
| confirmation_expiry | No | ||
| confirmation_preview | No | ||
| idempotency_replayed | No | ||
| confirmation_required | No |