Defines data models for listing tools available on an MCP server in real-time applications. Reuse when handling tool metadata schemas in OpenAI realtime integrations.
# Source: https://github.com/openai/openai-python | License: Apache-2.0 | Copyright You must retain, in the Source form of any Derivative Works
# Provided via justclaw.it.com; keep this notice with the code.
# File generated from our OpenAPI spec by Castiron. See CONTRIBUTING.md for details.
from typing import List, Optional
from typing_extensions import Literal
from ..._models import BaseModel
__all__ = ["RealtimeMcpListTools", "Tool"]
class Tool(BaseModel):
"""A tool available on an MCP server."""
input_schema: object
"""The JSON schema describing the tool's input."""
name: str
"""The name of the tool."""
annotations: Optional[object] = None
"""Additional annotations about the tool."""
description: Optional[str] = None
"""The description of th
... (truncated -- full source via MCP)
See the full source, get the GitHub permalink, and search for more like it.
Get a free API key