The IPFS Content Identifier (CID) that points to the tool's default policy configuration. This policy is used when no custom policy is specified for the tool.
A detailed description of the tool's functionality, including its purpose, use cases, and any important notes.
The IPFS Content Identifier (CID) that points to the tool's Lit Action implementation. This is used to locate and execute the tool's code.
The name of the tool. This should be a unique identifier that clearly describes the tool's purpose.
Configuration for the tool's parameters. Defines the structure, validation, and documentation of the tool's input parameters.
Human-readable descriptions of each parameter. Provides documentation about what each parameter does and how it should be used.
Zod schema for runtime validation of parameter values. Ensures that parameters meet the required format and constraints.
The TypeScript type definition for the tool's parameters. This serves as a compile-time type check for parameter values.
Function to validate parameter values at runtime.
true if validation succeeds, or an array of validation errors if it fails.
The parameters to validate.
Configuration for the tool's policy. Defines how the tool's execution policies are structured, validated, and encoded.
Function to decode a policy string back into a policy object.
The decoded policy object.
Function to encode a policy object into a string format for storage or transmission.
The encoded policy string.
The policy object to encode.
Zod schema for runtime validation of policy values. Ensures that policies meet the required format and constraints.
The TypeScript type definition for the tool's policy. This serves as a compile-time type check for policy values.
The version string for the policy format. Used to track policy compatibility and handle upgrades.
Represents a generic AW (Function-as-a-Service) tool.