Use refile with LangChain
<token>
with your refile API key and start generating PDFs!createRefileTool
function creates a LangChain-compatible tool that connects to the Refile APIbindTools
method to give the model access to the PDF generation capabilitycreateRefileTool()
: