Gloodata Extension Protocol

A Gloodata extension is an HTTP endpoint that handles a POST request with a JSON body.

The JSON body can have one of two shapes:

Info

The info call is done to fetch the extension's metadata, the request body looks like this:

{
  "action": "info"
}

The response to the info call is documented in the Extension Info Schema page.

Request

The request call is done when Gloodata picks a tool from a user's prompt, the request body looks like this:

{
  "action": "request",
  "opName": "TheToolIdBeingCalled",
  "info": { /* ... */ }
}

The opName is the tool identifier specified as the tools key in the info response.

The info field is an object with the raw arguments extracted from the prompt, they are provided by the LLM so you should be flexible in what you expect to accept here and expect missing fields or values that don't follow the schema specified in tool's schema.fields.

The response is documented in the Extension Response Schema page.