---
title: "Interface: ToolDefinition"
editUrl: true
head: []
template: doc
sidebar:
  hidden: false
  attrs: {}
pagefind: true
draft: false
---

[**Prefactor TypeScript SDK**](../../../index.md)

***

[Prefactor TypeScript SDK](../../../modules.md) / [@prefactor/openclaw-prefactor-plugin](../index.md) / ToolDefinition

# Interface: ToolDefinition

Defined in: [packages/openclaw-prefactor-plugin/src/tool-definitions.ts:9](https://github.com/prefactordev/typescript-sdk/blob/231423a775642bec119a2db45acf108c6383d05d/packages/openclaw-prefactor-plugin/src/tool-definitions.ts#L9)

Input schemas for supported OpenClaw tools.
These define the expected parameters for each tool to enable
proper validation and structured span capture.

## Properties

### name

> **name**: `string`

Defined in: [packages/openclaw-prefactor-plugin/src/tool-definitions.ts:10](https://github.com/prefactordev/typescript-sdk/blob/231423a775642bec119a2db45acf108c6383d05d/packages/openclaw-prefactor-plugin/src/tool-definitions.ts#L10)

***

### description

> **description**: `string`

Defined in: [packages/openclaw-prefactor-plugin/src/tool-definitions.ts:11](https://github.com/prefactordev/typescript-sdk/blob/231423a775642bec119a2db45acf108c6383d05d/packages/openclaw-prefactor-plugin/src/tool-definitions.ts#L11)

***

### inputSchema

> **inputSchema**: `JsonSchema`

Defined in: [packages/openclaw-prefactor-plugin/src/tool-definitions.ts:12](https://github.com/prefactordev/typescript-sdk/blob/231423a775642bec119a2db45acf108c6383d05d/packages/openclaw-prefactor-plugin/src/tool-definitions.ts#L12)

***

### aliases?

> `optional` **aliases**: `string`[]

Defined in: [packages/openclaw-prefactor-plugin/src/tool-definitions.ts:13](https://github.com/prefactordev/typescript-sdk/blob/231423a775642bec119a2db45acf108c6383d05d/packages/openclaw-prefactor-plugin/src/tool-definitions.ts#L13)