Edit a client
update_clientRename a client or change the legal name and address printed on its invoices. Only fields you pass are updated; the logo is kept.
Instructions
Rename a client or change the legal name and address printed on its invoices. Only the fields you pass change; the logo is kept.
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": {
"client": "<client>"
},
"name": "update_client"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | No | New display name | |
| client | Yes | Client id or exact client name | |
| address | No | Empty string clears it | |
| legal_name | No | Empty string clears it |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| ok | Yes | ||
| client | Yes | The client's name now |