get_deeplink
Build a direct Lexware Office web app link from a record type and ID so users can open invoices, contacts, vouchers, and other records themselves without an API call.
Instructions
Build a link that opens a record in the Lexware Office web app.
Costs no API call: the link is assembled from ids you already have. Use it whenever a person should look at something themselves, rather than describing where to click.
The link is not checked for existence, and a wrong id still produces one. Take the id from a search rather than from memory.
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": {
"target": "<target>",
"target_id": "<target_id>"
},
"name": "get_deeplink"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| action | No | Whether to open the record or open it for editing. A contact has a single page and always opens on it. | view |
| target | Yes | What the link should point at. | |
| target_id | Yes | The Lexware id of a record of that exact type. A file id is not the id of the voucher it hangs on, and the mismatch still builds a link — one that leads nowhere. |