Add identifier
add_identifierAttach a management tag, EID, brand, tattoo, or name to an animal record, enabling clear identification and traceability in Ranch.Bot.
Instructions
Add an identifier (tag, name, EID, brand, or tattoo) to an animal.
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": {
"animal_id": "<animal_id>",
"type": "<type>",
"value": "<value>"
},
"name": "add_identifier"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| type | Yes | The identifier type. | |
| value | Yes | The identifier value, e.g. "#301" or "Betsy". | |
| farm_id | No | The ID of the farm (optional if a default is set). | |
| animal_id | Yes | The animal UUID. | |
| is_primary | No | Mark this as the animal's primary identifier. |