Create registry robot
create_registry_robotCreate a registry robot: a login that is not a person, with pull or push access to one or more registry projects (the twin of ankra registry robots create). Its login is stored as a platform-managed registry credential and the answer names that credential, which is what workloads and pipelines reference; the secret itself is never shown here. With registry and admin_credential_name the robot is made on a Harbor the organisation runs. Requires credentials.write, and credentials.reveal for a registry the organisation runs.
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": {
"name": "<name>"
},
"name": "create_registry_robot"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | Yes | The robot's name: 2 to 32 lower-case letters, digits and hyphens. | |
| scope | No | Access on every project: pull, the default, or push (push and pull). | |
| projects | No | The projects the robot reaches, as list_registry_projects names them. Omit for the organisation's own project. | |
| registry | No | An integrated registry entry the organisation runs, to make the robot there instead of on the Ankra registry. | |
| description | No | What the robot is for, at most 200 characters. | |
| expires_in_days | No | Days until the registry stops honouring the robot, 1 to 3650. Omit for a robot that never expires. | |
| admin_credential_name | No | The organisation's credential that may manage robots on that registry. Required with registry. |