fwh-toolbox-agent.json 3.4 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596
  1. {
  2. "name": "fwh-toolbox-agent",
  3. "description": "fwh-toolbox平台AI助手",
  4. "prompt": "你是一个本地平台专业分析工具。使用本地知识库和MCP server读取数据,实现数据分析。不可创建/修改文件,只能通过MCP将文件生成到Minio服务器。",
  5. "tools": [
  6. "read", "write", "grep", "glob", "code", "web_fetch", "web_search", "knowledge", "subagent", "todo_list", "introspect", "shell",
  7. "@fwh-tools"
  8. ],
  9. "allowedTools": [
  10. "read", "grep", "glob", "code", "web_fetch", "web_search", "knowledge", "subagent", "todo_list", "introspect",
  11. "@fwh-tools/service_site_query_info",
  12. "@fwh-tools/service_site_search",
  13. "@fwh-tools/service_site_power_flow",
  14. "@fwh-tools/service_sim_query",
  15. "@fwh-tools/service_sim_search",
  16. "@fwh-tools/service_sim_monthly_data",
  17. "@fwh-tools/service_monitor_alarm_stats",
  18. "@fwh-tools/service_monitor_shutdown_stats",
  19. "@fwh-tools/service_feedback_history",
  20. "@fwh-tools/service_dashboard_shutdown_date",
  21. "@fwh-tools/service_dashboard_shutdown_detail",
  22. "@fwh-tools/service_dashboard_alarm_detail",
  23. "@fwh-tools/service_background_task_list",
  24. "@fwh-tools/service_tou_template_list",
  25. "@fwh-tools/service_tou_template_detail",
  26. "@fwh-tools/service_site_monitor_config_list",
  27. "@fwh-tools/service_site_monitor_name_list",
  28. "@fwh-tools/service_site_monitor_config_get",
  29. "@fwh-tools/service_site_monitor_base_info",
  30. "@fwh-tools/service_site_monitor_mode_info",
  31. "@fwh-tools/service_site_monitor_alarm_list",
  32. "@fwh-tools/service_site_info_update_status",
  33. "@fwh-tools/service_site_info_tags_list",
  34. "@fwh-tools/service_auto_update_get_options",
  35. "@fwh-tools/service_auto_update_get_package",
  36. "@fwh-tools/service_auto_update_get_apower_version",
  37. "@fwh-tools/service_auto_update_get_config",
  38. "@fwh-tools/service_auto_update_file_list",
  39. "@fwh-tools/service_batch_download_list",
  40. "@fwh-tools/service_batch_download_path",
  41. "@fwh-tools/service_batch_download_file_tree",
  42. "@fwh-tools/service_site_analysis_list",
  43. "@fwh-tools/service_site_analysis_get_config",
  44. "@fwh-tools/service_site_analysis_data",
  45. "@fwh-tools/data_mongo_find",
  46. "@fwh-tools/data_mongo_count",
  47. "@fwh-tools/data_redis_get",
  48. "@fwh-tools/data_redis_exists",
  49. "@fwh-tools/data_pgsql_query_snapshot_file_record",
  50. "@fwh-tools/data_pgsql_query_snapshot_data",
  51. "@fwh-tools/data_fwh_*",
  52. "@fwh-tools/data_sim_*",
  53. "@fwh-tools/data_emspara_*",
  54. "@fwh-tools/data_plane_*",
  55. "@fwh-tools/data_plane_v2_*",
  56. "@fwh-tools/storage_minio_*",
  57. "@fwh-tools/storage_file_read",
  58. "@fwh-tools/storage_file_list",
  59. "@fwh-tools/util_*"
  60. ],
  61. "toolsSettings": {
  62. "read": {
  63. "allowedPaths": ["./**", "/temp/fwh-toolbox-agent/**", "/home/jerry-remote/web/FranklinWH-Wiki/client/docs/**"],
  64. "deniedPaths": []
  65. },
  66. "write": {
  67. "allowedPaths": ["/temp/fwh-toolbox-agent/**"],
  68. "deniedPaths": []
  69. },
  70. "shell": {
  71. "allowedCommands": [
  72. "^/home/jerry-remote/\\.local/bin/officecli(\\s.*)?$",
  73. "npx -y @firecrawl/anydoc(\\s.*)?$"
  74. ],
  75. "denyByDefault": true
  76. }
  77. },
  78. "resources": [
  79. {
  80. "type": "knowledgeBase",
  81. "source": "file:///home/jerry-remote/web/FranklinWH-Wiki/client/docs",
  82. "name": "FranklinWHProductDocs",
  83. "description": "产品文档和指南,包括产品的软件、硬件、系统功能详细说明",
  84. "indexType": "best",
  85. "autoUpdate": true
  86. }
  87. ],
  88. "hooks": {},
  89. "mcpServers": {
  90. "fwh-tools": {
  91. "command": "./fwh-mcp-server",
  92. "args": []
  93. }
  94. },
  95. "welcomeMessage": "欢迎使用fwh-toolbox平台AI助手"
  96. }