Skip to main content

Module prelude

Module prelude 

Source
Expand description

Convenience re-exports for plugin development.

use cortex_sdk::prelude::*;

This imports MultiToolPlugin, PluginInfo, Tool, ToolError, ToolResult, and serde_json.

Re-exports§

pub use super::Attachment;
pub use super::CortexBuffer;
pub use super::CortexHostApi;
pub use super::CortexPluginApi;
pub use super::ExecutionScope;
pub use super::InvocationContext;
pub use super::MultiToolPlugin;
pub use super::NATIVE_ABI_VERSION;
pub use super::PluginInfo;
pub use super::SDK_VERSION;
pub use super::Tool;
pub use super::ToolCapabilities;
pub use super::ToolError;
pub use super::ToolResult;
pub use super::ToolRuntime;
pub use serde_json;