pub trait ToolArgs:
Serialize
+ DeserializeOwned
+ Send
+ Sync
+ 'static {
const SCHEMA_ID: &'static str;
const SCHEMA_VERSION: SchemaVersion;
// Required method
fn schema() -> Value;
}Expand description
Typed arguments for a toolkit-authored tool.
Required Associated Constants§
Sourceconst SCHEMA_VERSION: SchemaVersion
const SCHEMA_VERSION: SchemaVersion
Semantic schema version for the argument shape.
Required Methods§
Dyn Compatibility§
This trait is not dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety".