Skip to main content
GET
/
tools
/
{tool_id}
/
embed-info
Get tool embedding information
import requests

url = "https://app.ubik-agent.com/api/v1/tools/{tool_id}/embed-info"

headers = {"X-API-KEY": "<api-key>"}

response = requests.get(url, headers=headers)

print(response.text)
{
  "id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
  "name": "<string>",
  "input_schema": {
    "type": "object",
    "properties": {},
    "required": [
      "<string>"
    ]
  },
  "media_output_keys": [
    "<string>"
  ],
  "example_responses": [
    {}
  ],
  "pricing_config": {
    "fixed_cost": 123,
    "variable_cost_per_unit": 123,
    "unit": "<string>"
  },
  "allowed_origins": [
    "<string>"
  ],
  "description": "<string>",
  "ui_location": {},
  "access_token": "<string>"
}

Authorizations

X-API-KEY
string
header
required

Path Parameters

tool_id
string
required

The unique identifier or name of the tool.

Response

Successful Response

id
string<uuid>
required

The unique identifier for the tool.

name
string
required

The name of the tool.

input_schema
ToolInputSchema · object
required

The JSON schema defining the inputs for the tool.

media_output_keys
string[]
required

A list of keys in the output that contain media URLs.

example_responses
Example Responses · object[]
required

A list of example inputs and their corresponding outputs for the tool.

pricing_config
ToolPricingConfig · object
required

The pricing configuration for executing the tool.

allowed_origins
string[]
required

A list of allowed domains for embedding this tool.

description
string | null

A brief description of what the tool does.

ui_location
Ui Location · object

Configuration for a custom UI to render for this tool.

access_token
string | null

A short-lived JWT access token for authenticating API calls from the embedded UI.