---
url: /api/@ufo-soft/caelus-mcp/functions/shapeOf.md
---
# Function: shapeOf()

> **shapeOf**(`parameters`): `Record`<`string`, `z.ZodType`>

Defined in: [packages/mcp/src/mcp.ts:89](https://github.com/ufo-soft/caelus/blob/31cc32fc3d2008e3b0d484d65d10bba2a91a5897/packages/mcp/src/mcp.ts#L89)

One zod field per parameter: the tool's inputSchema, and the validation that runs before a handler
sees the arguments. The CLI's rules: string and integer required, boolean optional and false by default.

## Parameters

### parameters

readonly [`Parameter`](../../caelus/core/interfaces/Parameter.md)\[]

## Returns

`Record`<`string`, `z.ZodType`>
