Tool Schema Converter avatar

Tool Schema Converter

Pricing

$1.00 / 1,000 schema converteds

Go to Apify Store
Tool Schema Converter

Tool Schema Converter

Transform tool schemas between Echo and a pinned MCP profile for AI tools and agents, reporting invalid source contracts and every supported information loss. A developer tool for conversion, not execution.

Pricing

$1.00 / 1,000 schema converteds

Rating

0.0

(0)

Developer

Actor stats

0

Bookmarked

2

Total users

1

Monthly active users

a day ago

Last modified

Categories

Features

Limited permissions

Share

Tool Schema Converter: MCP, OpenAI, Anthropic

Convert tool schemas between MCP, OpenAI, Anthropic, Gemini and OpenAPI formats. Lossless where possible, with warnings where not.

Validation and conversion are pure code. No LLM, no network, and no proxy. A description is never invented.

Input

FieldTypeDefaultRequiredDescription
toolsarray (1–500), or an envelope objectsample get_weather toolno (omitted uses the sample)Tool definitions. Also accepts an MCP tools/list response or { "tools": [...] }.
sourceFormatauto | mcp | openai | anthropic | gemini | openapiautonoauto detects each tool individually.
targetFormatmcp | openai | anthropic | gemini | openapimcpno (omitted uses mcp)Format of the converted output.

If tools is omitted, a sample tool is used. If targetFormat is omitted, it defaults to mcp. An empty input {} and the Store prefill therefore both succeed. If tools is explicitly null, not an array (after unwrap), empty, or contains a non-object item, or targetFormat is explicitly invalid, the run fails with a clean input error, writes no dataset items, and charges no events.

Input example

{
"tools": [
{
"name": "get_weather",
"description": "Get current weather for a city.",
"inputSchema": {
"type": "object",
"properties": { "city": { "type": "string", "description": "City name" } },
"required": ["city"]
}
}
],
"sourceFormat": "auto",
"targetFormat": "openai"
}

Output

The dataset has one item per tool plus one summary item. The summary is also stored as the OUTPUT record.

Per-tool item:

  • index, originalName, name, sourceFormat, targetFormat
  • converted: the tool in the target format, or null when status is failed
  • warnings[]: { "code", "path", "message" }
  • lossless: true only when there are no warnings
  • status: converted | partial | failed

Pricing

Pay per event: schema-converted at $0.001 per tool.

It charges only for tools that were converted or converted-with-warnings (converted or partial). There is no charge for failed items, and no charge for runs rejected at input validation. Batch runs honor maxTotalChargeUsd and stop with truncatedByChargeLimit when the cap is hit.

Default run size is 256 MB.

Privacy

This Actor uses limited permissions. It does not call the network; it only rewrites the definitions you pass in.