datarobot_genai.drmcpbase.dynamic_tools.deployment.adapters.base
base
MetadataBase
Bases: ABC
Source code in datarobot_genai/drmcpbase/dynamic_tools/deployment/adapters/base.py
name
abstractmethod
property
The name of the tool, for the LLM to identify and call the tool.
description
abstractmethod
property
The description of the tool, for the LLM to understand its purpose and all additional instructions and context about the tool, which can help the LLM to better utilize the tool in the right context.
method
abstractmethod
property
HTTP method to use when calling the tool, e.g. POST or GET etc.
endpoint
abstractmethod
property
The endpoint path of the tool, e.g. /weather/{city}/forecast.
input_schema
abstractmethod
property
The JSON schema defining the input parameters for the tool.
Structure
{ "type": "object", "properties": { "path_params": {...}, # Optional: path parameter schemas "query_params": {...}, # Optional: query parameter schemas "data": {...}, # Optional: form/body data schema "json": {...} # Optional: JSON body schema }, "required": [...] # Optional: required properties }