data_rename_datastore
Rename a datastore. Only the name changes — the id, URL/deeplink and shares stay stable (grants are keyed by id). Governance right required (owner, or the org/platform admin governing it). The new name must be free for the same owner.
Use this to lift a name collision (e.g. two reconcile_log across orgs) before
transferring/consolidating: rename one side, then transfer with oto_resource.
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": {
"datastore": "<datastore>",
"new_name": "<new_name>"
},
"name": "data_rename_datastore"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| _org | No | Org (id) de CET APPEL. `oto_list_orgs()`. | |
| _group | No | Équipe (id) de CET APPEL, sous son org parente. | |
| _run_id | No | OBLIGATOIRE à chaque appel dès `run_start` ou `data_claim_next` : sans lui, l'écriture sur une ligne réservée est refusée. Hérité seulement si le serveur tient un run actif — n'y compte pas. | |
| _project | No | Projet (id) de CET APPEL — jeton PRIMAIRE. `oto_project(op='list')`. | |
| new_name | Yes | the new kebab-case name (must be unique for the owner). | |
| datastore | Yes | current datastore (or `slot:<name>` under the active project). |