mirror of
https://github.com/cjo4m06/mcp-shrimp-task-manager.git
synced 2025-07-26 07:52:25 +08:00
新增 JSON 格式注意事項,強調禁止註解及特殊字元轉義要求,以避免解析失敗。
This commit is contained in:
parent
552eed82ad
commit
a328322c41
@ -62,6 +62,9 @@ Choose subsequent actions based on the evaluation results:
|
||||
- **Consolidate when necessary**: If the modifications are minor or not complex, integrate them appropriately with other tasks to avoid excessive tasks due to over-simplification
|
||||
- **Repeated Calls**: If too many tasks or long content prevents "split_tasks" from working correctly, use the tool multiple times, submitting only a small portion of tasks each time
|
||||
- **Simplify Tasks**: If adding only one task at a time still doesn't work, consider further splitting or simplifying the task while retaining core content
|
||||
- **JSON Format Note**:
|
||||
- **No Comments**: JSON format itself does not support comments (e.g., `#` or `//`). Adding comments within JSON content will lead to parsing failures.
|
||||
- **Escape Characters**: Special characters within JSON content, such as double quotes (`\"`) and backslashes (`\\\\`), must be properly escaped. Otherwise, they will be treated as illegal characters, causing parsing failures.
|
||||
|
||||
**Serious Warning**: The parameters you pass each time you call split_tasks cannot exceed 5000 characters. If it exceeds 5000 characters, please call the tool multiple times to complete.
|
||||
|
||||
|
@ -62,6 +62,9 @@
|
||||
- **必要時整合**:修改的內容不多或不複雜,可以適當於其他任務整合,避免任務過於簡單造成任務過多
|
||||
- **重複調用**:如果任務太多或內容過長導致「split_tasks」工具無法正常運作時,請使用多次使用「split_tasks」工具,每次只提交一小部分任務
|
||||
- **簡化任務**:如果每次只新增一個任務還是無法正常運作,請考慮再次拆分任務,或者簡化任務但必須保留核心內容
|
||||
- **JSON 格式注意**:
|
||||
- **禁止註解**:JSON 格式本身不支援註解(例如 `#` 或 `//`),在 JSON 內容中添加註解會導致解析失敗。
|
||||
- **注意轉義**:JSON 內容中的特殊字元,例如雙引號 (`\"`)、反斜線 (`\\\\`) 等,必須進行正確的轉義處理,否則將視為非法字元,導致解析失敗。
|
||||
|
||||
**嚴重警告** 你每次呼叫 split_tasks 傳遞的參數不能超過 5000 個字,如果超出 5000 個字請多次呼叫工具完成
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user