Class McpPlanInstallRequest
java.lang.Object
com.github.copilot.generated.rpc.McpPlanInstallRequest
@CopilotExperimental
@Generated("copilot-sdk-codegen")
public final class McpPlanInstallRequest
extends Object
A side-effect-free request for an MCP install plan. Computing a plan never writes configuration, stores a secret, or reloads MCP servers.
Required inputs are constructor arguments. Optional inputs have fluent setters.
- Since:
- 1.0.0
-
Constructor Summary
ConstructorsConstructorDescriptionMcpPlanInstallRequest(CatalogClientContract contract, Object source) Creates a request with its required inputs. -
Method Summary
Modifier and TypeMethodDescriptionReturns thecontractproperty.Returns thepolicySessionIdproperty.getScope()Returns thescopeproperty.Returns thesourceproperty.setPolicySessionId(String value) Sets thepolicySessionIdproperty.setScope(McpPlanScope value) Sets thescopeproperty.
-
Constructor Details
-
McpPlanInstallRequest
Creates a request with its required inputs.- Parameters:
contract- Protocol version and capabilities the caller requires.source- What to plan: either a candidate handle from a previous search, or a card supplied directly.
-
-
Method Details
-
getContract
Returns thecontractproperty.- Returns:
- Protocol version and capabilities the caller requires.
-
getSource
Returns thesourceproperty.- Returns:
- What to plan: either a candidate handle from a previous search, or a card supplied directly.
-
getScope
Returns thescopeproperty.- Returns:
- Configuration scope the plan targets. Defaults to user scope when omitted.
-
getPolicySessionId
Returns thepolicySessionIdproperty.- Returns:
- The same existing attached session that owns the original catalogue candidate.
-
setScope
Sets thescopeproperty.- Parameters:
value- Configuration scope the plan targets. Defaults to user scope when omitted.- Returns:
- this request
-
setPolicySessionId
Sets thepolicySessionIdproperty.- Parameters:
value- The same existing attached session that owns the original catalogue candidate.- Returns:
- this request
-