Get Document Links
get_document_linksRetrieve all documents attached to an entity like an invoice or bill, or find all entities linked to a document. Use when you need to show what's connected to a given record.
Instructions
Get all documents linked to an entity (transaction, invoice, bill, estimate, contact, project, expense claim), or all entities linked to a document. Use when user asks "what documents are attached to this invoice?" or "show me what's linked to that receipt".
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "get_document_links"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| entity_id | No | Entity ID to get linked documents for | |
| document_id | No | Document ID to get links for | |
| entity_type | No | Entity type: transaction, invoice, bill, estimate, contact, project, expense_claim |