> ## Documentation Index
> Fetch the complete documentation index at: https://composio-preview.mintlify.site/llms.txt
> Use this file to discover all available pages before exploring further.

# Get Tool Schemas

> Retrieve input schemas for tools by slug

**Slug:** `COMPOSIO_GET_TOOL_SCHEMAS`

**Tags:** readOnlyHint

Returns the full input schema for tools you already know the slug for, so you can build schema-compliant arguments before executing.

## When to use it

Reach for `COMPOSIO_GET_TOOL_SCHEMAS` when `COMPOSIO_SEARCH_TOOLS` hands you a tool with a `schemaRef` instead of an inline `input_schema`, or when you need the `output_schema` to validate a response in the workbench.

> [!NOTE]
>
> Only pass slugs that `COMPOSIO_SEARCH_TOOLS` returned. Never guess or fabricate a slug. If a slug is not found, the response suggests close matches you can call again with.

## Input parameters

**tool\_slugs** `array\<string\>` *required*

Array of tool slugs to retrieve schemas for. Pass valid tool slugs; never invent.

**include** `array\<string\>`

Schema fields to include. Defaults to \["input\_schema"]. Include "output\_schema" when calling tools in the workbench to validate response structure. Default: `['input_schema']`.

**session\_id** `string`

Pass the session\_id if you received one from a prior COMPOSIO\_SEARCH\_TOOLS call.

## Response

**data** `object`

Data from the action execution

**properties**

**success** `boolean`

Whether all requested tool schemas were found

**tool\_schemas** `object`

Tool definitions keyed by tool\_slug for O(1) lookup. Same format as tool\_schemas in search response.

**not\_found** `array\<string\>`

Tool slugs that were not found

**suggestions** `object`

For each not-found slug, a list of similar existing tool slugs (up to 3). Call again with the correct slugs to get their schemas.

**not\_found\_message** `string`

Action message when slugs are not found. Check suggestions for possible matches and call again with correct slugs.

**error** `string`

Error if any occurred during the execution of the action

**successful** `boolean`

Whether or not the action execution was successful or not
