Usage
To send a custom request to any API for an integration in your Paragon project, use the following base URL with a Paragon User Token (JWT) as a Bearer token in the Authorization header. Base URLFor on-premise instances
For on-premise instances
X-Paragon-Proxy-Url (or directly appended to the base URL).
For example, if you are trying to reach the comments.list endpoint of Google Drive, which has the URL:
Custom Tool definitions will not appear in the List Tools endpoint, which only includes Paragon-defined Tools.See below for examples of defining Custom Tools within your application or our MCP to drive Proxy API requests.
Examples
Custom Tool for Tool Calling
A Custom Tool can be defined in your system as one or many Proxy API calls that are made for a given set of input parameters. A basic implementation of a Custom Tool would look like the following:- Define a JSON Schema for your Custom Tool that you will pass to the model as a tool definition (in addition to the native ActionKit definitions).
- When your Custom Tool is called, call the Proxy API with the input and return the output to the model (or make additional requests / transformations).
OpenAPI as Custom Tools
If you have an OpenAPI spec defining a list of endpoints that you want to add as available tools, you can transform those automatically into Custom Tools as described above that send requests to the Proxy API. Our open-source MCP does this out-of-the-box by accepting OpenAPI specs in theopenapi/ folder of your server: