A callable operation with attached metadata. Can be invoked directly as a function, and also exposes .def, .inputSchema, and .outputSchema for introspection.
.def
.inputSchema
.outputSchema
Zod schema type for the operation's input.
Zod schema type for the operation's output.
The full operation definition including name, description, and schemas.
Zod schema for validating input before execution.
Zod schema describing the output shape.
A callable operation with attached metadata. Can be invoked directly as a function, and also exposes
.def,.inputSchema, and.outputSchemafor introspection.