Split Portfolio Transaction
split_transactionsDestructively move selected whole existing operation handles unchanged out of one accounting transaction into a new classified transaction; use this only when the needed economic legs already exist as operation handles. It cannot divide one transfer amount into new economic legs: repair sync normalization or use a supported persisted replacement lifecycle for a missing leg. Preview the grouping first, then track the queued requestId.
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": {
"workspaceRef": "<workspaceRef>",
"portfolioRef": "<portfolioRef>",
"transactionId": "<transactionId>",
"operations": "<operations>",
"operationType": "<operationType>"
},
"name": "split_transactions"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| reason | No | Optional immutable root reason. Nonempty bytes are preserved exactly; use ptx:<uuid> for transaction references. | |
| subType | No | Optional operation sub-type | |
| operations | Yes | Whole existing operation handles to move unchanged into a new transaction; do not use this to divide one normalized transfer amount into new economic legs | |
| portfolioRef | Yes | Portfolio exact name or slug | |
| workspaceRef | Yes | Workspace exact name or slug | |
| operationType | Yes | Accounting operation type for the new transaction | |
| transactionId | Yes | Source transaction to split operations out of |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| error | No | ||
| status | Yes | ||
| success | No | ||
| requestId | No | ||
| transactionId | Yes |