datarobot_genai.drmcp.core.dynamic_tools.deployment.config
config
Configuration assembly for DataRobot deployment tools.
This module creates complete ExternalToolRegistrationConfig objects from DataRobot deployments by combining data fetched via request_user_dr_client with the pure assembly functions from drmcpbase.
create_deployment_tool_config
Create an ExternalToolRegistrationConfig from deployment.
Fetches the user's DR client (endpoint + token) and delegates to the pure drmcpbase assembly functions.
Parameters:
| Name | Type | Description | Default |
|---|---|---|---|
deployment
|
Deployment
|
The DataRobot deployment object. |
required |
Returns
ExternalToolRegistrationConfig with all parameters needed for registration.