pub struct LarkTaskTool { /* private fields */ }Expand description
Create and manage Feishu/Lark Tasks as an Agent tool.
§Actions
| Action | Description |
|---|---|
list | List all tasks (paginated) |
get | Get details of a specific task |
create | Create a new task |
update | Update an existing task |
complete | Mark a task as complete |
delete | Delete a task |
Implementations§
Source§impl LarkTaskTool
impl LarkTaskTool
Sourcepub fn new(config: LarkConfig) -> Self
pub fn new(config: LarkConfig) -> Self
Create a new task tool.
Trait Implementations§
Source§impl Tool for LarkTaskTool
impl Tool for LarkTaskTool
fn name(&self) -> &'static str
fn description(&self) -> &'static str
fn parameters(&self) -> Option<Value>
fn call<'life0, 'async_trait>(
&'life0 self,
args: Value,
) -> Pin<Box<dyn Future<Output = Result<Value, SynapticError>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
fn as_tool_definition(&self) -> ToolDefinition
Auto Trait Implementations§
impl Freeze for LarkTaskTool
impl !RefUnwindSafe for LarkTaskTool
impl Send for LarkTaskTool
impl Sync for LarkTaskTool
impl Unpin for LarkTaskTool
impl UnsafeUnpin for LarkTaskTool
impl !UnwindSafe for LarkTaskTool
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