expensify_remove_employees
Remove employees from an Expensify policy by flagging them as terminated. Specify the policy ID and employee details; currently runs in dry-run mode to preview changes.
Instructions
Remove members from a policy. Sets isTerminated on each record, which is how the API removes someone from their assigned policy.
WRITES to Expensify. Dry-run is currently ON — this will preview only.
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": {
"policyID": "<policyID>",
"employees": "<employees>"
},
"name": "expensify_remove_employees"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| policyID | Yes | Expensify policy (workspace) ID | |
| employees | Yes | ||
| shouldRemoveFromUnassignedPolicies | No | Also remove them from policies not listed here |