pub struct JiffWorkflowPlugin;Expand description
MCP plugin exposing contract-verified jiff datetime composition tools.
Register under the "jiff_workflow" namespace:
ⓘ
use elicitation::PluginRegistry;
use elicit_jiff::JiffWorkflowPlugin;
let registry = PluginRegistry::new()
.register("jiff_workflow", JiffWorkflowPlugin);Trait Implementations§
Source§impl Debug for JiffWorkflowPlugin
impl Debug for JiffWorkflowPlugin
Source§impl ElicitPlugin for JiffWorkflowPlugin
impl ElicitPlugin for JiffWorkflowPlugin
Source§fn name(&self) -> &'static str
fn name(&self) -> &'static str
Human-readable plugin name, used as the namespace prefix. Read more
Source§fn list_tools(&self) -> Vec<Tool>
fn list_tools(&self) -> Vec<Tool>
List all tools provided by this plugin (without namespace prefix).
Source§fn call_tool<'__a>(
&'__a self,
params: CallToolRequestParams,
_ctx: RequestContext<RoleServer>,
) -> BoxFuture<'__a, Result<CallToolResult, ErrorData>>
fn call_tool<'__a>( &'__a self, params: CallToolRequestParams, _ctx: RequestContext<RoleServer>, ) -> BoxFuture<'__a, Result<CallToolResult, ErrorData>>
Dispatch a tool call to this plugin. Read more
Auto Trait Implementations§
impl Freeze for JiffWorkflowPlugin
impl RefUnwindSafe for JiffWorkflowPlugin
impl Send for JiffWorkflowPlugin
impl Sync for JiffWorkflowPlugin
impl Unpin for JiffWorkflowPlugin
impl UnsafeUnpin for JiffWorkflowPlugin
impl UnwindSafe for JiffWorkflowPlugin
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