> ## Documentation Index
> Fetch the complete documentation index at: https://praison.ai/docs/llms.txt
> Use this file to discover all available pages before exploring further.

# Display Tool Call • TypeScript AI Agent SDK

> display_tool_call: API reference for display_tool_call

# display\_tool\_call

<div className="flex items-center gap-2">
  <Badge color="teal">Function</Badge>
</div>

> This function is defined in the [**parity**](../modules/parity) module.

```mermaid theme={"theme":{"light":"vitesse-light","dark":"vitesse-dark"}}
%%{init: {'theme': 'base', 'themeVariables': { 'primaryColor': '#8B0000', 'primaryTextColor': '#fff', 'primaryBorderColor': '#710101', 'lineColor': '#189AB4', 'secondaryColor': '#189AB4', 'tertiaryColor': '#fff' }}}%%

graph LR
    agent["Agent"] -- "uses" --> tool["Tool: display_tool_call"]
    tool -- "returns" --> result["Result"]
    style tool fill:#189AB4,color:#fff
    style agent fill:#8B0000,color:#fff
    style result fill:#8B0000,color:#fff
```

## Signature

```python theme={"theme":{"light":"vitesse-light","dark":"vitesse-dark"}}
def display_tool_call(tool: string, args: any, result?: any) -> void
```

### Returns

<ResponseField name="Returns" type="void">
  The result of the operation.
</ResponseField>

## Uses

* `cb`

## Source

<Card title="View on GitHub" icon="github" href="https://github.com/MervinPraison/PraisonAI/blob/main/src/praisonai-ts/src/parity/index.ts#L1799">
  `src/parity/index.ts` at line 1799
</Card>

***

## Related Documentation

<CardGroup cols={2}>
  <Card title="JS Tools" icon="wrench" href="/docs/js/tools" />

  <Card title="JS Tools CLI" icon="terminal" href="/docs/js/tools-cli" />

  <Card title="JS Custom Tools" icon="plus" href="/docs/js/customtools" />

  <Card title="JS MCP Tools" icon="plug" href="/docs/js/mcp-tools" />
</CardGroup>
