---
title: "Test Tool"
method: POST
path: "/api/v1/tools/{tool_uuid}/test"
tags: ["main"]
---

# Test Tool

`POST /api/v1/tools/{tool_uuid}/test`

## Request

- Base URL: `https://app.dograh.com`
- URL: `https://app.dograh.com/api/v1/tools/{tool_uuid}/test`
- Auth: none declared

Execute an HTTP API tool with sample LLM and preset parameters.

## Path parameters

- `tool_uuid` string, required

## Headers

- `authorization` string, nullable
- `X-API-Key` string, nullable

## Request body

- ToolTestRequest: Request body for testing an HTTP API tool outside a live call.
  - `llm_params` object: Values for parameters normally supplied by the model.
  - `preset_params` object: Resolved values for parameters normally supplied from presets.

## Response `200`

Successful Response

- ToolTestResponse: Result of testing an HTTP API tool.
  - `status` string, required
  - `status_code` integer, nullable
  - `data` unknown
  - `error` string, nullable
  - `hint` string, nullable
  - `request_method` string, required
  - `request_url` string, required
  - `request_headers` object
  - `request_body` object, nullable
  - `request_params` object, nullable
  - `duration_ms` integer, required

## Other responses

- `404`: Not found
- `422`: Validation Error

## Changes

- **2026-11-03** `faa00cf76fcb`: 1 info
  - endpoint added

[Operation history](https://skmtc.dev/dograh/apis/dograh-api/changes/api/v1/tools/:tool_uuid/test/post.md)

---

[API](https://skmtc.dev/dograh/apis/dograh-api.md) - [All operations](https://skmtc.dev/dograh/apis/dograh-api/llms.txt) - [OpenAPI document](https://skmtc.dev/dograh/apis/dograh-api/revisions/faa00cf76fcb?raw)
