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_observation_impl( &self, params: CreateObservationParams, ) -> Result<CallToolResult, McpError>
pub async fn confirm_entity_impl( &self, params: ConfirmEntityParams, ) -> Result<CallToolResult, McpError>
pub async fn update_observation_impl( &self, params: UpdateObservationParams, ) -> Result<CallToolResult, McpError>
pub async fn confirm_observation_impl( &self, params: ConfirmObservationParams, ) -> Result<CallToolResult, McpError>
pub async fn delete_observation_impl( &self, params: DeleteObservationParams, ) -> 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 get_page_sources_impl( &self, page_id: &str, ) -> Result<CallToolResult, McpError>
pub async fn get_memory_revisions_impl( &self, memory_id: &str, ) -> Result<CallToolResult, McpError>
pub async fn get_page_revisions_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>
pub async fn list_spaces_impl( &self, _params: ListSpacesParams, ) -> Result<CallToolResult, McpError>
pub async fn list_refinements_impl( &self, params: ListRefinementsParams, ) -> Result<CallToolResult, McpError>
pub async fn reject_refinement_impl( &self, params: RejectRefinementParams, ) -> Result<CallToolResult, McpError>
pub async fn accept_refinement_impl( &self, params: AcceptRefinementParams, ) -> Result<CallToolResult, McpError>
pub async fn list_nurture_impl( &self, params: ListNurtureParams, ) -> Result<CallToolResult, McpError>
pub async fn list_entity_suggestions_impl( &self, _params: ListEntitySuggestionsParams, ) -> Result<CallToolResult, McpError>
pub async fn accept_revision_impl( &self, req: AcceptRevisionRequest, ) -> Result<CallToolResult, McpError>
pub async fn dismiss_revision_impl( &self, req: DismissRevisionRequest, ) -> Result<CallToolResult, McpError>
pub async fn dismiss_contradiction_impl( &self, req: DismissContradictionRequest, ) -> Result<CallToolResult, McpError>
pub async fn list_pending_imports_impl( &self, _params: ListPendingImportsParams, ) -> Result<CallToolResult, McpError>
pub async fn list_rejections_impl( &self, params: ListRejectionsParams, ) -> Result<CallToolResult, McpError>
pub async fn list_pending_revisions_impl( &self, params: ListPendingRevisionsParams, ) -> Result<CallToolResult, McpError>
pub async fn list_orphan_links_impl( &self, params: ListOrphanLinksParams, ) -> 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_observation_tool_attr() -> Tool
pub fn create_observation_tool_attr() -> Tool
Generated tool metadata function for create_observation
Sourcepub fn confirm_entity_tool_attr() -> Tool
pub fn confirm_entity_tool_attr() -> Tool
Generated tool metadata function for confirm_entity
Sourcepub fn update_observation_tool_attr() -> Tool
pub fn update_observation_tool_attr() -> Tool
Generated tool metadata function for update_observation
Sourcepub fn confirm_observation_tool_attr() -> Tool
pub fn confirm_observation_tool_attr() -> Tool
Generated tool metadata function for confirm_observation
Sourcepub fn delete_observation_tool_attr() -> Tool
pub fn delete_observation_tool_attr() -> Tool
Generated tool metadata function for delete_observation
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 get_page_sources_tool_attr() -> Tool
pub fn get_page_sources_tool_attr() -> Tool
Generated tool metadata function for get_page_sources
Sourcepub fn get_memory_revisions_tool_attr() -> Tool
pub fn get_memory_revisions_tool_attr() -> Tool
Generated tool metadata function for get_memory_revisions
Sourcepub fn get_page_revisions_tool_attr() -> Tool
pub fn get_page_revisions_tool_attr() -> Tool
Generated tool metadata function for get_page_revisions
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
Sourcepub fn list_spaces_tool_attr() -> Tool
pub fn list_spaces_tool_attr() -> Tool
Generated tool metadata function for list_spaces
Sourcepub fn list_refinements_tool_attr() -> Tool
pub fn list_refinements_tool_attr() -> Tool
Generated tool metadata function for list_refinements
Sourcepub fn reject_refinement_tool_attr() -> Tool
pub fn reject_refinement_tool_attr() -> Tool
Generated tool metadata function for reject_refinement
Sourcepub fn accept_refinement_tool_attr() -> Tool
pub fn accept_refinement_tool_attr() -> Tool
Generated tool metadata function for accept_refinement
Sourcepub fn list_nurture_tool_attr() -> Tool
pub fn list_nurture_tool_attr() -> Tool
Generated tool metadata function for list_nurture
Sourcepub fn list_entity_suggestions_tool_attr() -> Tool
pub fn list_entity_suggestions_tool_attr() -> Tool
Generated tool metadata function for list_entity_suggestions
Sourcepub fn accept_revision_tool_attr() -> Tool
pub fn accept_revision_tool_attr() -> Tool
Generated tool metadata function for accept_revision
Sourcepub fn dismiss_revision_tool_attr() -> Tool
pub fn dismiss_revision_tool_attr() -> Tool
Generated tool metadata function for dismiss_revision
Sourcepub fn dismiss_contradiction_tool_attr() -> Tool
pub fn dismiss_contradiction_tool_attr() -> Tool
Generated tool metadata function for dismiss_contradiction
Sourcepub fn list_pending_imports_tool_attr() -> Tool
pub fn list_pending_imports_tool_attr() -> Tool
Generated tool metadata function for list_pending_imports
Sourcepub fn list_rejections_tool_attr() -> Tool
pub fn list_rejections_tool_attr() -> Tool
Generated tool metadata function for list_rejections
Sourcepub fn list_pending_revisions_tool_attr() -> Tool
pub fn list_pending_revisions_tool_attr() -> Tool
Generated tool metadata function for list_pending_revisions
Sourcepub fn list_orphan_links_tool_attr() -> Tool
pub fn list_orphan_links_tool_attr() -> Tool
Generated tool metadata function for list_orphan_links
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