@nextclaw/ncp 0.4.2 → 0.4.4
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/index.d.ts +1 -0
- package/package.json +1 -1
package/dist/index.d.ts
CHANGED
|
@@ -788,6 +788,7 @@ interface NcpTool {
|
|
|
788
788
|
readonly name: string;
|
|
789
789
|
readonly description?: string;
|
|
790
790
|
readonly parameters?: Record<string, unknown>;
|
|
791
|
+
validateArgs?(args: Record<string, unknown>): string[];
|
|
791
792
|
execute(args: unknown): Promise<unknown>;
|
|
792
793
|
}
|
|
793
794
|
type NcpToolCallResult = {
|