patch_address
Update selected fields of an owned Anwani address while leaving omitted details unchanged; use it to edit labels, instructions, floor, or contact info without creating a new pin.
Instructions
Updates only the fields present in changes on an owned address and returns the result; omitted fields stay unchanged. Coordinates are immutable after create. Use it to edit label, instructions, floor and similar fields; use create_address for a new pin; use delete_address only to remove an address permanently. Fails if the code is not owned by the connected account.
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": {
"code": "<code>",
"changes": "<changes>"
},
"name": "patch_address"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| code | Yes | Anwani permanent 9-digit address code (digits 1–9 only). Example: 365131449 | |
| changes | Yes | Partial address fields to update. Omit keys you do not want to change. Example: {"instructions":"الباب الأصفر","floor":5} |