---
title: RELKIT_TOOL_TARGET_INCOMPATIBLE
description: "Tool target does not match."
pagination: false
search:
  keywords: [RELKIT_TOOL_TARGET_INCOMPATIBLE]
sidebar:
  icon: triangle-alert
---

{/* Generated by apps/docs/scripts/generate.ts. Do not edit. */}

**Tool target does not match.**

## What happened

A tool's target is not a function, or the tool's schemas differ from the function it calls.

## What to do

Point the tool at a function made with `defineFunction` and use the same input and output schemas.

Reported by `@relkit/cli`, `relkit/diagnostics`.

See [all error codes](/docs/errors).
