Skip to main content
GET
Download a tool's code

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Path Parameters

id
string
required

a tool ID: tool_ and 32 lowercase hex digits

Example:

"tool_0f8e2d1c4b3a49e8a7f6e5d4c3b2a190"

Query Parameters

environment
string

On a Business team with environments: the key of the environment whose version and draft to use, such as staging. Left out, the environment your API key or MCP URL is for, else production

Response

The zip

file_name
string
required

A name to save it under, such as acme-travel-search-flights-v7.zip

media_type
enum<string>
required
Available options:
application/zip
size
integer
required

The zip's size in bytes

content_base64
string
required

The zip, base64-encoded