Plug AI Parcels into your LLMs

Because AI Parcels is built on a strict, well-documented OpenAPI specification, it natively integrates as a tool or action in modern AI agents without writing custom code.

ChatGPT (GPT Actions)

You can expose AI Parcels to Custom GPTs by creating a new Action. ChatGPT will automatically parse the schema and understand how to get quotes, create shipments, and buy labels.

  1. Create a new Custom GPT in your ChatGPT interface.
  2. Scroll down to the bottom and click Create new action.
  3. Under Authentication, select API Key and paste your AI Parcels API key (Custom Header: Authorization, Format: Bearer <token>).
  4. Under Schema, click Import from URL and paste our highly documented OpenAPI url:
https://api.ai.parcels.dotnethelp.co.uk/doc.json

Claude (Tool Use & MCP)

Anthropic's Claude evaluates API specifications beautifully. You can pass the AI Parcels OpenAPI spec to Claude via the native Tool Use API, or if using a desktop environment, via the Model Context Protocol (MCP).

When defining your tool payload in the Claude SDK, you can map our generic /quote and /checkout schemas directly:

// Example mapping with Anthropic SDK
const tools = [
  {
    name: "get_shipping_quotes",
    description: "Fetch real-time shipping quotes from AI Parcels",
    input_schema: {
       // ... insert schema from AI Parcels openapi.json
    }
  }
];

Google Gemini

Gemini Extensions utilize OpenAPI documents to allow the AI to reach out to the external world. You can load our openapi.json as an API extension in Google AI Studio or Vertex AI directly.

Grok / xAI

Grok supports standard function calling which integrates cleanly with standard JSON Schema. Simply convert our API documentation parameters to a JSON Schema object when defining tools.