> ## 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.interop.register_interoperable_class

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

#### register\_interoperable\_class

```python theme={null}
register_interoperable_class(short_name: str) -> Callable[[~InteroperableClass], ~InteroperableClass]
```

Register an Interoperable class in the global registry.<br />Returns: <br />    Callable\[\[InteroperableClass], InteroperableClass]: Decorator function

Example: <br />    `python
        @register_interoperable_class("myinterop")
        class MyInteroperability(Interoperable): <br/>        def convert_tool(self, tool: Any) -> Tool: <br/>            # implementation
                ...<br/>    `

<b>Parameters:</b>

| Name         | Description   |
| ------------ | ------------- |
| `short_name` | **Type:** str |

<b>Returns:</b>

| Type                                                     | Description                                                              |
| -------------------------------------------------------- | ------------------------------------------------------------------------ |
| Callable\[\[\~InteroperableClass], \~InteroperableClass] | Callable\[\[InteroperableClass], InteroperableClass]: Decorator function |

<br />
