pub struct ClientRpcAgents<'a> { /* private fields */ }Expand description
agents.* RPCs.
Implementations§
Source§impl<'a> ClientRpcAgents<'a>
impl<'a> ClientRpcAgents<'a>
Sourcepub async fn discover(
&self,
params: AgentsDiscoverRequest,
) -> Result<ServerAgentList, Error>
pub async fn discover( &self, params: AgentsDiscoverRequest, ) -> Result<ServerAgentList, Error>
Discovers custom agents across user, project, plugin, and remote sources.
Wire method: agents.discover.
§Parameters
params- Optional project paths to include in agent discovery.
§Returns
Agents discovered across user, project, plugin, and remote sources.
Experimental. This API is part of an experimental wire-protocol surface and may change or be removed in future SDK or CLI releases. Pin both the SDK and CLI versions if your code depends on it.
Sourcepub async fn get_discovery_paths(
&self,
params: AgentsGetDiscoveryPathsRequest,
) -> Result<AgentDiscoveryPathList, Error>
pub async fn get_discovery_paths( &self, params: AgentsGetDiscoveryPathsRequest, ) -> Result<AgentDiscoveryPathList, Error>
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.
Wire method: agents.getDiscoveryPaths.
§Parameters
params- Optional project paths to include when enumerating agent discovery directories.
§Returns
Canonical locations where custom agents can be created so the runtime will recognize them.
Experimental. This API is part of an experimental wire-protocol surface and may change or be removed in future SDK or CLI releases. Pin both the SDK and CLI versions if your code depends on it.
Trait Implementations§
Source§impl<'a> Clone for ClientRpcAgents<'a>
impl<'a> Clone for ClientRpcAgents<'a>
Source§fn clone(&self) -> ClientRpcAgents<'a>
fn clone(&self) -> ClientRpcAgents<'a>
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read more