pub enum Tool {
Send,
Peers,
Report,
Help,
MemoryRead,
MemoryWrite,
Learn,
LogbookAppend,
Status,
Wait,
}Expand description
A tool an agent can call over MCP.
Variants§
Send
Send a flight to another agent. The only way work moves.
Peers
Ask who this agent may reach, and what each of them is for.
Report
Say what this run concluded.
Help
Say what is in the way.
MemoryRead
Read this agent’s own notes.
MemoryWrite
Add to this agent’s own notes.
Learn
Propose something future runs of this agent should know.
LogbookAppend
Add to the factory’s shared memory.
Status
Ask what this run has left: its Hops, its Fuel.
Wait
Set work down to be picked up later.
Implementations§
Trait Implementations§
impl Copy for Tool
impl Eq for Tool
Source§impl Ord for Tool
impl Ord for Tool
1.21.0 (const: unstable) · Source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
1.21.0 (const: unstable) · Source§fn min(self, other: Self) -> Selfwhere
Self: Sized,
fn min(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the minimum of two values. Read more
Source§impl PartialOrd for Tool
impl PartialOrd for Tool
impl StructuralPartialEq for Tool
Auto Trait Implementations§
impl Freeze for Tool
impl RefUnwindSafe for Tool
impl Send for Tool
impl Sync for Tool
impl Unpin for Tool
impl UnsafeUnpin for Tool
impl UnwindSafe for Tool
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