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

# autogen.agentchat.contrib.captainagent.format_ag2_tool

<code class="doc-symbol doc-symbol-heading doc-symbol-function" />

#### format\_ag2\_tool

```python theme={null}
format_ag2_tool(tool: Tool) -> 
```

<b>Parameters:</b>

| Name   | Description                                              |
| ------ | -------------------------------------------------------- |
| `tool` | **Type:** [Tool](/docs/api-reference/autogen/tools/Tool) |

<br />
