public class ToolMCP extends ResponsesTool
| Modifier and Type | Class and Description |
|---|---|
static class |
ToolMCP.Builder |
| Constructor and Description |
|---|
ToolMCP() |
| Modifier and Type | Method and Description |
|---|---|
static ToolMCP.Builder |
builder() |
MCPAllowedTools |
getAllowedTools() |
Map<String,String> |
getHeaders() |
MCPRequireApproval |
getRequireApproval() |
String |
getServerDescription() |
String |
getServerLabel() |
String |
getServerUrl() |
void |
setAllowedTools(MCPAllowedTools allowedTools) |
void |
setHeaders(Map<String,String> headers) |
void |
setRequireApproval(MCPRequireApproval requireApproval) |
void |
setServerDescription(String serverDescription) |
void |
setServerLabel(String serverLabel) |
void |
setServerUrl(String serverUrl) |
String |
toString() |
getType, setTypepublic String getServerLabel()
public void setServerLabel(String serverLabel)
public String getServerUrl()
public void setServerUrl(String serverUrl)
public MCPAllowedTools getAllowedTools()
public void setAllowedTools(MCPAllowedTools allowedTools)
public MCPRequireApproval getRequireApproval()
public void setRequireApproval(MCPRequireApproval requireApproval)
public String getServerDescription()
public void setServerDescription(String serverDescription)
public static ToolMCP.Builder builder()
Copyright © 2025. All rights reserved.