Class ServerAgentsApi
java.lang.Object
com.github.copilot.generated.rpc.ServerAgentsApi
API methods for the
agents namespace.- Since:
- 1.0.0
-
Method Summary
Modifier and TypeMethodDescriptiondiscover(AgentsDiscoverParams params) Discovers custom agents across user, project, plugin, and remote sources.discover(AgentsDiscoverRequest request) Discovers custom agents across user, project, plugin, and remote sources.Returns the canonical directories where a client may create custom agents that the runtime will recognize, including ones that do not exist yet.Returns the canonical directories where a client may create custom agents that the runtime will recognize, including ones that do not exist yet.
-
Method Details
-
discover
@CopilotExperimental public CompletableFuture<AgentsDiscoverResult> discover(AgentsDiscoverParams params) Discovers custom agents across user, project, plugin, and remote sources.- Since:
- 1.0.0
-
discover
@CopilotExperimental public CompletableFuture<AgentsDiscoverResult> discover(AgentsDiscoverRequest request) Discovers custom agents across user, project, plugin, and remote sources.Accepts the extensible request, including inputs added after the params record.
- Since:
- 1.0.0
-
getDiscoveryPaths
@CopilotExperimental public CompletableFuture<AgentsGetDiscoveryPathsResult> getDiscoveryPaths(AgentsGetDiscoveryPathsParams params) Returns the canonical directories where a client may create custom agents that the runtime will recognize, including ones that do not exist yet. Project directories become active once created.- Since:
- 1.0.0
-
getDiscoveryPaths
@CopilotExperimental public CompletableFuture<AgentsGetDiscoveryPathsResult> getDiscoveryPaths(AgentsGetDiscoveryPathsRequest request) Returns the canonical directories where a client may create custom agents that the runtime will recognize, including ones that do not exist yet. Project directories become active once created.Accepts the extensible request, including inputs added after the params record.
- Since:
- 1.0.0
-