{"note":"Keep the API key in your code, never in the tool definition or the prompt. Docs: https://extractivio.com/docs/function-calling.md","openai":[{"type":"function","function":{"name":"convert_statement","description":"Extract transactions from a text-based PDF bank or credit card statement. Returns date (ISO), description, signed amount (negative = money out) and running balance per transaction, plus a balance check (reconciled of checkable rows). Provide a public https URL. Scanned PDFs are not supported. After calling, report the transaction count, the balance check and any warnings to the user.","parameters":{"type":"object","properties":{"file_url":{"type":"string","description":"Public https URL of the PDF."},"date_order":{"type":"string","enum":["dmy","mdy"],"description":"mdy for United States statements, dmy elsewhere. Omit to auto-detect."},"format":{"type":"string","enum":["json","csv","xero","qbo","ofx","qfx","qif"],"description":"json unless the user asked for a file. Only json includes the balance check and warnings."},"bank":{"type":"string","description":"Optional bank slug, for example chase."},"store":{"type":"boolean","description":"Keep the result in the account. Default false."}},"required":["file_url"]}}},{"type":"function","function":{"name":"get_usage","description":"Pages used and included this month for the account behind the API key. Each converted PDF page costs one unit.","parameters":{"type":"object","properties":{}}}},{"type":"function","function":{"name":"list_conversions","description":"Stored conversion results, newest first: email imports and conversions made with store=true.","parameters":{"type":"object","properties":{"limit":{"type":"integer","minimum":1,"maximum":100,"description":"Default 20."},"since":{"type":"string","description":"ISO timestamp; only results created after it."},"summary":{"type":"boolean","description":"true to leave out the transactions."}}}}}],"anthropic":[{"name":"convert_statement","description":"Extract transactions from a text-based PDF bank or credit card statement. Returns date (ISO), description, signed amount (negative = money out) and running balance per transaction, plus a balance check (reconciled of checkable rows). Provide a public https URL. Scanned PDFs are not supported. After calling, report the transaction count, the balance check and any warnings to the user.","input_schema":{"type":"object","properties":{"file_url":{"type":"string","description":"Public https URL of the PDF."},"date_order":{"type":"string","enum":["dmy","mdy"],"description":"mdy for United States statements, dmy elsewhere. Omit to auto-detect."},"format":{"type":"string","enum":["json","csv","xero","qbo","ofx","qfx","qif"],"description":"json unless the user asked for a file. Only json includes the balance check and warnings."},"bank":{"type":"string","description":"Optional bank slug, for example chase."},"store":{"type":"boolean","description":"Keep the result in the account. Default false."}},"required":["file_url"]}},{"name":"get_usage","description":"Pages used and included this month for the account behind the API key. Each converted PDF page costs one unit.","input_schema":{"type":"object","properties":{}}},{"name":"list_conversions","description":"Stored conversion results, newest first: email imports and conversions made with store=true.","input_schema":{"type":"object","properties":{"limit":{"type":"integer","minimum":1,"maximum":100,"description":"Default 20."},"since":{"type":"string","description":"ISO timestamp; only results created after it."},"summary":{"type":"boolean","description":"true to leave out the transactions."}}}}],"execute":{"convert_statement":{"method":"POST","url":"https://extractivio.com/api/v1/convert","query":["format","date_order","bank","store"],"json_body":["file_url"],"headers":{"Authorization":"Bearer <API key>"}},"get_usage":{"method":"GET","url":"https://extractivio.com/api/v1/usage","headers":{"Authorization":"Bearer <API key>"}},"list_conversions":{"method":"GET","url":"https://extractivio.com/api/v1/conversions","query":["limit","since","summary"],"headers":{"Authorization":"Bearer <API key>"}}}}