Link entities
link_entitiesLink two entities of any supported pair (e.g. income+transaction, income+asset, expense+asset, asset+transaction). Fails cleanly if either record doesn't exist.
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": {
"entity": "<entity>",
"entityid": "<entityid>",
"linkedentity": "<linkedentity>",
"linkedentityid": "<linkedentityid>"
},
"name": "link_entities"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| entity | Yes | First entity's kind, e.g. "income", "asset", "transaction". | |
| entityid | Yes | First entity's id. | |
| linkedentity | Yes | Second entity's kind. | |
| linkedentityid | Yes | Second entity's id. |