---
title: "Validate tool parameters before execution"
method: POST
path: "/api/system/validate-params"
tags: ["System Tools"]
---

# Validate tool parameters before execution

`POST /api/system/validate-params`

## Request

- Base URL: `https://api.cernion.de`
- URL: `https://api.cernion.de/api/system/validate-params`
- Auth: none declared

Pre-validation before expensive operations, error prevention. Validates parameters for any MCP tool before running it, returning detailed error messages and suggestions for corrections.

## Query parameters

- `token` string

## Request body

- object
  - `tool` string, required: MCP tool name to validate parameters for
  - `params` object, required: Parameters object to validate against the tool schema
  - `token` string: Optional Cernion MCP token for this request. Overrides CERNION_TOKEN when provided.

## Response `200`

Validation result

- object
  - `valid` boolean
  - `errors` string[]: List of validation errors (empty when valid)
  - `suggestions` string[]: Suggestions for fixing invalid parameters

---

[API](https://skmtc.dev/cernion/apis/cernion-energy-tools-api.md) · [All operations](https://skmtc.dev/cernion/apis/cernion-energy-tools-api/llms.txt) · [OpenAPI document](https://skmtc.dev/cernion/apis/cernion-energy-tools-api/revisions/cdb94473b538?raw)
