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 Action definitions will not appear in the List Actions endpoint, which only includes Paragon-defined Actions.See below for examples of defining Custom Actions within your application or our MCP to drive Proxy API requests.
Examples
Custom Action for Tool Calling
A Custom Action 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 Action would look like the following:- Define a JSON Schema for your Custom Action that you will pass to the model as a tool definition (in addition to the native ActionKit definitions).
- When your Custom Action is called, call the Proxy API with the input and return the output to the model (or make additional requests / transformations).
OpenAPI as Custom Actions
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 Actions 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: