mirror of
https://github.com/jxxghp/MoviePilot.git
synced 2026-09-09 01:16:50 +08:00
fix: 修复 MCP 动态加载插件工具 (#6214)
This commit is contained in:
@@ -505,6 +505,11 @@ The two list endpoints return local cache totals plus `shared_recognized` and
|
||||
| GET | `/api/v1/mcp/tools/{tool_name}` | Get tool definition |
|
||||
| GET | `/api/v1/mcp/tools/{tool_name}/schema` | Get tool input schema |
|
||||
|
||||
The exposed tool list is dynamic: it includes tools declared by enabled plugins
|
||||
and is refreshed lazily after plugin startup, shutdown, reload, or configuration
|
||||
activation. Clients that cache MCP metadata must request `tools/list` again or
|
||||
reconnect after a plugin lifecycle change.
|
||||
|
||||
### Agent MCP Client (3 endpoints)
|
||||
|
||||
| Method | Path | Description |
|
||||
|
||||
Reference in New Issue
Block a user