---
title: "Function: getToolInputSchema()"
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) / getToolInputSchema

# Function: getToolInputSchema()

> **getToolInputSchema**(`toolName`): `JsonSchema`

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

Gets the input schema for a tool.
Returns a generic object schema for unknown tools.

## Parameters

### toolName

`string`

## Returns

`JsonSchema`