callable
JSON-in / JSON-out async callable used by protocol-neutral tooling.
Prefer [CallableSkill] when you need a type-erased async function object (for example
registering dynamic tools) without tying call sites to a specific concrete future type.
Type Aliases
Section titled “Type Aliases”CallableSkill
Section titled “CallableSkill”type CallableSkill = Box<dyn Fn + Send + Sync>;Boxed async callable: serde_json::Value in, [SdkResult] of JSON out.
On native targets the future is Send; on WASM it is single-threaded.