Home / Servers / DigitalOcean API / inference_create_batch_file

Create a Batch Inference Input File

An MCP tool from the DigitalOcean API server, hosted on mcp.hjlabs.in.

Create a Batch Inference Input File Creates a file record and returns a file_id plus a short-lived presigned PUT URL (typically valid for ~15 minutes). Upload the raw JSONL bytes to upload_url (see PUT /{upload_path}) before calling… [POST /v1/batches/files]

Name on the gateway: digitalocean_api__inference_create_batch_file · may change things.

Parameters

NameTypeDescription
file_name requiredstringThe file you plan to upload. Must end with .jsonl (case-insensitive) and…

How to call it

Through the Smart Gateway, any client can run it by name with call_tool, or let the gateway find it with search_tools:

call_tool arguments
{
  "name": "digitalocean_api__inference_create_batch_file",
  "arguments": {
    "file_name": "…"
  }
}

Or connect the DigitalOcean API server directly, which lists 874 tools including this one:

Run in your terminal
claude mcp add --transport http hj-digitalocean-api https://mcp.hjlabs.in/mcp/digitalocean-api \
  --header "Authorization: Bearer YOUR_API_KEY"

Try asking

Use the create a batch inference input file tool with file_name set to ….

More from DigitalOcean API