Identify a company from a line of text
identify_companyGive a line as it appears on an invoice, receipt, bank statement or the tax portal (for example "513686290 - CELIA ISABEL GODINHO UNIPESSOAL LDA" or "COMPRA 1234 IMPERIO BIFANAS VENDAS NOVAS"). Finds a Portuguese tax number in it, or failing that searches by the words, and returns the company with the name it trades under. Use this first when the user asks "who is this merchant".
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": {
"text": "<text>"
},
"name": "identify_company"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| text | Yes | The line of text, unedited |