Struct Agent Tools Config

View as Markdown

Generated from cargo doc --no-deps -p nemo-fabric-core.

pub struct AgentToolsConfig {
    pub definitions: BTreeMap<String, AgentToolDefinition>,
    pub enabled: Option<Vec<String>>,
    pub blocked: Vec<String>,
    pub extensions: BTreeMap<String, Value>,
}

Named tool definitions and effective adapter-target tool policy.

Fields

definitions: BTreeMap<String, AgentToolDefinition>

Tool and tool-group definitions keyed by normalized name.

enabled: Option<Vec<String>>

Named tools to expose. None preserves the adapter-target default.

blocked: Vec<String>

Named tools to block.

extensions: BTreeMap<String, Value>

Adapter-owned tool fields.

Trait Implementations

impl Clone for AgentToolsConfig

impl Clone for AgentToolsConfig

clone

fn clone(&self) -> AgentToolsConfig

clone_from

fn clone_from(&mut self, source: &Self)

impl Debug for AgentToolsConfig

impl Debug for AgentToolsConfig

fmt

fn fmt(&self, f: &mut Formatter<'_>) -> Result

impl Default for AgentToolsConfig

impl Default for AgentToolsConfig

default

fn default() -> AgentToolsConfig

impl<'de> Deserialize<'de> for AgentToolsConfig

impl<'de> Deserialize<'de> for AgentToolsConfig

deserialize

fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
    __D: Deserializer<'de>,

impl JsonSchema for AgentToolsConfig

impl JsonSchema for AgentToolsConfig

schema_name

fn schema_name() -> Cow<'static, str>

schema_id

fn schema_id() -> Cow<'static, str>

json_schema

fn json_schema(generator: &mut SchemaGenerator) -> Schema

inline_schema

fn inline_schema() -> bool

impl PartialEq for AgentToolsConfig

impl PartialEq for AgentToolsConfig

eq

fn eq(&self, other: &AgentToolsConfig) -> bool

ne

fn ne(&self, other: &Rhs) -> bool

impl Serialize for AgentToolsConfig

impl Serialize for AgentToolsConfig

serialize

fn serialize<__S>(&self, __serializer: __S) -> Result<__S::Ok, __S::Error>where
    __S: Serializer,

impl StructuralPartialEq for AgentToolsConfig

impl StructuralPartialEq for AgentToolsConfig