Home / Servers / Linode API / post_object_storage_object_url

Create a URL for an object

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

Create a URL for an object Creates a pre-signed URL to access a single object in a bucket. Use it to share, create, or delete objects by using the appropriate HTTP method in your request body's method parameter. > 📘 > > You… [POST /v4/object-storage/buckets/{regionId}/{bucket}/object-url]

Name on the gateway: linode_api__post_object_storage_object_url · may change things.

Parameters

NameTypeDescription
regionId requiredstringIdentifies a region where this bucket lives. > 📘 > > You…
bucket requiredstringThe bucket name.
content_typestringThe expected Content-type header of the request this signed URL will be valid…
expires_inintegerHow long this signed URL will be valid for, in seconds. If omitted, the URL…
method requiredstringThe HTTP method allowed to be used with the pre-signed URL.
name requiredstringThe name of the object that will be accessed with the pre-signed URL. This…

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": "linode_api__post_object_storage_object_url",
  "arguments": {
    "regionId": "…",
    "bucket": "…",
    "method": "…",
    "name": "…"
  }
}

Or connect the Linode API server directly, which lists 439 tools including this one:

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

Try asking

Use the create a url for an object tool with regionId set to ….

More from Linode API