pub enum Remote {
Socket(PathBuf),
Url {
base: String,
token: Option<String>,
},
}Expand description
Where isb serve is: its unix socket (as the local user), or a URL and
an API token (ISB_URL, ISB_TOKEN).
Variants§
Implementations§
Source§impl Remote
impl Remote
Sourcepub fn call_tool(&self, org: &str, tool: &str, args: Value) -> Result<Value>
pub fn call_tool(&self, org: &str, tool: &str, args: Value) -> Result<Value>
Call a tool in org: over the socket’s MCP, or the URL’s REST
surface (/orgs/<org>/api/v1/tools/<tool>).
Trait Implementations§
Auto Trait Implementations§
impl Freeze for Remote
impl RefUnwindSafe for Remote
impl Send for Remote
impl Sync for Remote
impl Unpin for Remote
impl UnsafeUnpin for Remote
impl UnwindSafe for Remote
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