added mcp tools from routes

This commit is contained in:
dswbx
2025-08-07 08:36:12 +02:00
parent 07810ff63c
commit 1b02feca93
13 changed files with 97 additions and 44 deletions

View File

@@ -39,9 +39,7 @@ export function buildMediaSchema() {
},
{ default: {} },
),
adapter: $record("config_media_adapter", s.anyOf(Object.values(adapterSchemaObject)), {
maxProperties: 1,
}).optional(),
adapter: s.anyOf(Object.values(adapterSchemaObject)).optional(),
},
{
default: {},