Make server tool http based

This commit is contained in:
Xin Wang
2026-02-11 11:39:45 +08:00
parent 80e1d24443
commit 4c46793169
9 changed files with 281 additions and 17 deletions

View File

@@ -186,6 +186,10 @@ export interface Tool {
description: string;
category: 'system' | 'query';
icon: string;
httpMethod?: 'GET' | 'POST' | 'PUT' | 'PATCH' | 'DELETE';
httpUrl?: string;
httpHeaders?: Record<string, string>;
httpTimeoutMs?: number;
isCustom?: boolean;
isSystem?: boolean;
enabled?: boolean;