pub struct AgentMcpInput {
pub query: String,
pub context: HashMap<String, String>,
pub history: Vec<String>,
pub max_tokens: Option<usize>,
}Expand description
Input schema for agent MCP tools
Fields§
§query: StringThe query or task for the agent
context: HashMap<String, String>Additional context as key-value pairs
history: Vec<String>Conversation history (optional)
max_tokens: Option<usize>Maximum tokens for response (optional hint)
Trait Implementations§
Source§impl Clone for AgentMcpInput
impl Clone for AgentMcpInput
Source§fn clone(&self) -> AgentMcpInput
fn clone(&self) -> AgentMcpInput
Returns a duplicate of the value. Read more
1.0.0 · 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 AgentMcpInput
impl Debug for AgentMcpInput
Source§impl<'de> Deserialize<'de> for AgentMcpInput
impl<'de> Deserialize<'de> for AgentMcpInput
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 AgentMcpInput
impl RefUnwindSafe for AgentMcpInput
impl Send for AgentMcpInput
impl Sync for AgentMcpInput
impl Unpin for AgentMcpInput
impl UnsafeUnpin for AgentMcpInput
impl UnwindSafe for AgentMcpInput
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