pub struct CallRequest {
pub tool_name: String,
pub args: Value,
pub raw_args: Option<Vec<String>>,
}Fields§
§tool_name: String§args: ValueTool arguments — accepts a JSON object (key-value pairs) for HTTP/MCP/OpenAPI tools, or a JSON array of strings / a single string for CLI tools. The proxy auto-detects the handler type and routes accordingly.
raw_args: Option<Vec<String>>Deprecated: use args with an array value instead.
Kept for backward compatibility — if present, takes precedence for CLI tools.
Trait Implementations§
Source§impl Debug for CallRequest
impl Debug for CallRequest
Source§impl<'de> Deserialize<'de> for CallRequest
impl<'de> Deserialize<'de> for CallRequest
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 CallRequest
impl RefUnwindSafe for CallRequest
impl Send for CallRequest
impl Sync for CallRequest
impl Unpin for CallRequest
impl UnsafeUnpin for CallRequest
impl UnwindSafe for CallRequest
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