---
title: "Validate Tool"
method: POST
path: "/admin/tool/custom/validate"
tags: ["public"]
---

# Validate Tool

`POST /admin/tool/custom/validate`

## Request body

- ValidateToolRequest
  - `definition` object, required

## Response `200`

Successful Response

- ValidateToolResponse
  - `methods` MethodSpec[], required
    - `name` string, required
    - `summary` string, required
    - `path` string, required
    - `method` string, required
    - `spec` object, required

## Other responses

- `422` — Validation Error

---

[API](https://skmtc.net/onyx-dot-app/apis/agents-api.md) · [All operations](https://skmtc.net/onyx-dot-app/apis/agents-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/onyx-dot-app/agents-api/versions/ea131344b29e/schema)
