pub struct OriginMcpServer { /* private fields */ }Implementations§
Source§impl OriginMcpServer
impl OriginMcpServer
pub async fn capture_impl( &self, params: CaptureParams, ) -> Result<CallToolResult, McpError>
pub async fn recall_impl( &self, params: RecallParams, ) -> Result<CallToolResult, McpError>
pub async fn context_impl( &self, params: ContextParams, ) -> Result<CallToolResult, McpError>
pub async fn doctor_impl(&self) -> Result<CallToolResult, McpError>
pub async fn forget_impl( &self, memory_id: &str, ) -> Result<CallToolResult, McpError>
pub async fn distill_impl( &self, params: DistillParams, ) -> Result<CallToolResult, McpError>
pub async fn list_pending_impl( &self, params: ListPendingParams, ) -> Result<CallToolResult, McpError>
pub async fn confirm_memory_impl( &self, memory_id: &str, ) -> Result<CallToolResult, McpError>
pub async fn create_entity_impl( &self, params: CreateEntityParams, ) -> Result<CallToolResult, McpError>
pub async fn create_relation_impl( &self, params: CreateRelationParams, ) -> Result<CallToolResult, McpError>
pub async fn create_page_impl( &self, params: CreatePageParams, ) -> Result<CallToolResult, McpError>
pub async fn update_page_impl( &self, params: UpdatePageParams, ) -> Result<CallToolResult, McpError>
pub async fn delete_page_impl( &self, page_id: &str, ) -> Result<CallToolResult, McpError>
pub async fn get_page_impl( &self, page_id: &str, ) -> Result<CallToolResult, McpError>
pub async fn get_page_links_impl( &self, page_id: &str, ) -> Result<CallToolResult, McpError>
pub async fn list_memories_impl( &self, params: ListMemoriesParams, ) -> Result<CallToolResult, McpError>
pub async fn search_pages_impl( &self, params: SearchPagesParams, ) -> Result<CallToolResult, McpError>
pub async fn list_pages_recent_impl( &self, params: ListPagesRecentParams, ) -> Result<CallToolResult, McpError>
Source§impl OriginMcpServer
impl OriginMcpServer
pub fn new( client: OriginClient, transport: TransportMode, agent_name: String, user_id: Option<String>, ) -> Self
Sourcepub fn capture_tool_attr() -> Tool
pub fn capture_tool_attr() -> Tool
Generated tool metadata function for capture
Sourcepub fn recall_tool_attr() -> Tool
pub fn recall_tool_attr() -> Tool
Generated tool metadata function for recall
Sourcepub fn context_tool_attr() -> Tool
pub fn context_tool_attr() -> Tool
Generated tool metadata function for context
Sourcepub fn doctor_tool_attr() -> Tool
pub fn doctor_tool_attr() -> Tool
Generated tool metadata function for doctor
Sourcepub fn forget_tool_attr() -> Tool
pub fn forget_tool_attr() -> Tool
Generated tool metadata function for forget
Sourcepub fn distill_tool_attr() -> Tool
pub fn distill_tool_attr() -> Tool
Generated tool metadata function for distill
Sourcepub fn list_pending_tool_attr() -> Tool
pub fn list_pending_tool_attr() -> Tool
Generated tool metadata function for list_pending
Sourcepub fn confirm_memory_tool_attr() -> Tool
pub fn confirm_memory_tool_attr() -> Tool
Generated tool metadata function for confirm_memory
Sourcepub fn create_entity_tool_attr() -> Tool
pub fn create_entity_tool_attr() -> Tool
Generated tool metadata function for create_entity
Sourcepub fn create_relation_tool_attr() -> Tool
pub fn create_relation_tool_attr() -> Tool
Generated tool metadata function for create_relation
Sourcepub fn create_page_tool_attr() -> Tool
pub fn create_page_tool_attr() -> Tool
Generated tool metadata function for create_page
Sourcepub fn update_page_tool_attr() -> Tool
pub fn update_page_tool_attr() -> Tool
Generated tool metadata function for update_page
Sourcepub fn delete_page_tool_attr() -> Tool
pub fn delete_page_tool_attr() -> Tool
Generated tool metadata function for delete_page
Sourcepub fn get_page_tool_attr() -> Tool
pub fn get_page_tool_attr() -> Tool
Generated tool metadata function for get_page
Sourcepub fn get_page_links_tool_attr() -> Tool
pub fn get_page_links_tool_attr() -> Tool
Generated tool metadata function for get_page_links
Sourcepub fn list_memories_tool_attr() -> Tool
pub fn list_memories_tool_attr() -> Tool
Generated tool metadata function for list_memories
Sourcepub fn search_pages_tool_attr() -> Tool
pub fn search_pages_tool_attr() -> Tool
Generated tool metadata function for search_pages
Sourcepub fn list_pages_recent_tool_attr() -> Tool
pub fn list_pages_recent_tool_attr() -> Tool
Generated tool metadata function for list_pages_recent
Trait Implementations§
Source§impl Clone for OriginMcpServer
impl Clone for OriginMcpServer
Source§fn clone(&self) -> OriginMcpServer
fn clone(&self) -> OriginMcpServer
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read more