Add a family member
add_family_memberAdds a dependent or a pet to the customer's My Family page. Call describe_family_form for the fields and the module_state first. Confirm the values with the customer before you call this tool. When module_state is edit_restarts_alignment, also tell the customer that the change restarts the alignment of the couple and can email the partner, and get a yes. After an asset, family, or allocation write, tell the customer that the alignment restarted when alignment_restarted is true. Tell the customer that the partner got an email when partner_emailed is true. When a value is false, say nothing about it. When the customer asks about these values, answer from the results of all the writes in this conversation. Send the module_state that you read as expected_module_state, also when it is open.
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": {
"kind": "<kind>",
"fields": "<fields>"
},
"name": "add_family_member"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| kind | Yes | dependent or pet. | |
| fields | Yes | The values of the form, by the field keys of the describe tool. Give each currency amount in US dollars, with up to 2 decimals. The amount of a debt is positive. | |
| expected_module_state | No | The module_state that you read from the list or describe tool of this module, also when it is open. When the state is now different, the tool saves nothing and gives the new state. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| status | Yes | ||
| app_url | Yes | ||
| family_member | Yes | ||
| partner_emailed | Yes | True when the partner got an email that the alignment restarted. | |
| alignment_restarted | Yes | True when the write restarted the alignment of the couple. |