pub struct AgentListRequest {
pub include_built_in_agents: Option<bool>,
pub include_prompt: Option<bool>,
}Expand description
Controls whether built-in agents and authored prompt text are included.
Experimental. This type is part of an experimental wire-protocol surface and may change or be removed in future SDK or CLI releases.
Fields§
§include_built_in_agents: Option<bool>When true, request the session’s configured built-in agents alongside custom agents. Listing applies feature, context, inclusion, exclusion, and user-disabled-agent policy, but does not evaluate transient invocation requirements such as model availability. Built-in metadata may be omitted when the session cannot project it, such as a relay session.
include_prompt: Option<bool>When true, request authored base prompt text on each AgentInfo. Prompt text may be omitted when unavailable, such as for agents projected through a relay session.
Trait Implementations§
Source§impl Clone for AgentListRequest
impl Clone for AgentListRequest
Source§fn clone(&self) -> AgentListRequest
fn clone(&self) -> AgentListRequest
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for AgentListRequest
impl Debug for AgentListRequest
Source§impl Default for AgentListRequest
impl Default for AgentListRequest
Source§fn default() -> AgentListRequest
fn default() -> AgentListRequest
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for AgentListRequest
impl<'de> Deserialize<'de> for AgentListRequest
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Auto Trait Implementations§
impl Freeze for AgentListRequest
impl RefUnwindSafe for AgentListRequest
impl Send for AgentListRequest
impl Sync for AgentListRequest
impl Unpin for AgentListRequest
impl UnsafeUnpin for AgentListRequest
impl UnwindSafe for AgentListRequest
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more