Fill in custom fields
set_custom_fieldsFill in or change the account's own custom fields on ONE record (record_type property, lease, resident or work_order; a work order also needs maintenance:write). values is an object keyed by field_key — read the keys with custom_fields first, never guess one. A null value empties a field; a REQUIRED field cannot be emptied. Every value is checked against its field's type (a date, an amount, a choice from its list) and refused in words if it does not fit. Confirm the exact values with the user first. The result says staged: true when the change is waiting in the account holder's Approvals queue — then NOTHING has changed yet.
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": {
"record_type": "<record_type>",
"record_id": "<record_id>",
"values": "<values>"
},
"name": "set_custom_fields"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| values | Yes | field_key → new value. null empties the field. | |
| record_id | Yes | A property, lease or work-order id, or a resident's email address. | |
| record_type | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| id | No | The created or updated record's id, when the write was applied rather than staged. | |
| note | No | Why the result was truncated, when it was. | |
| fields | No | ||
| record | No | ||
| staged | No | TRUE means nothing has changed yet — the write is queued in the account holder's Approvals queue in Seayora. Say it is waiting for approval; never report it as done. | |
| changed | No | ||
| message | No | ||
| draft_id | No | The staged proposal's id, when it was queued rather than performed. | |
| truncated | No | Present and true when the result was too large to return in full. Treat it as a partial answer. | |
| total_available | No | How many rows existed before truncation. |