#!/usr/bin/env python3
from pygeai import Client
client = Client()

# Register tool
client.tools.register(
    name="search",
    schema={"type": "function", "function": {...}}
)

# List tools
tools = client.tools.list()
for tool in tools:
    print(f"{tool.name}: {tool.description}")
