v48

latestOpenAPI 3.1.0raw.githubusercontent.com2026-05-305398191.8 KB
servers

Infer a tool output schema

Infer a best-effort Zod schema from recent successful Tinybird tool outputs. All discovered object fields are marked optional.

get/servers/{qualifiedName}/experimental/tools/{toolName}/output-schema

Path parameters

qualifiedNamestring required

The server's qualified name (e.g. 'namespace/server' or 'namespace' for namespace-only servers). Use %2F to encode the slash.

toolNamestring required

Response

Inferred tool output schema

qualifiedNamestring required
toolNamestring required
sampleCountnumber required
zodSchemastring required

Example response

{
  "qualifiedName": "smithery-ai/github",
  "toolName": "search_repositories",
  "sampleCount": 25,
  "zodSchema": "z.object({ \"items\": z.array(z.object({})).optional() })"
}