feat(tools): add minio prefix sync into memory

This commit is contained in:
William Valentin
2026-02-16 14:21:18 -08:00
parent 0be93c20b5
commit 22f225998f
10 changed files with 434 additions and 4 deletions
+47 -1
View File
@@ -27,7 +27,7 @@ Tools are executable capabilities that the AI agent can call to perform actions
- **Web**: `web.fetch`, `web.search`
- **Browser**: `browser.navigate`, `browser.screenshot`
- **Memory**: `memory.read`, `memory.write`, `memory.search`
- **MinIO**: `minio.share`, `minio.ingest`
- **MinIO**: `minio.share`, `minio.ingest`, `minio.sync`
- **Media**: `media.send`, `image.analyze`, `audio.transcribe`
- **System**: `system.info`
- **Session**: `sessions.list`, `sessions.delete`
@@ -1007,6 +1007,52 @@ Read a text-like object from MinIO and write it into a memory namespace.
}
```
#### `minio.sync`
Sync text-like objects from a MinIO prefix into nested memory namespaces.
```json
{
"name": "minio.sync",
"description": "Sync text-like objects from a MinIO prefix into memory namespaces.",
"inputSchema": {
"type": "object",
"properties": {
"prefix": {
"type": "string",
"description": "MinIO object prefix to sync recursively"
},
"bucket": {
"type": "string",
"description": "Optional bucket override"
},
"namespace_base": {
"type": "string",
"description": "Base memory namespace"
},
"mode": {
"type": "string",
"enum": ["append", "replace"],
"description": "Write mode per object namespace"
},
"max_objects": {
"type": "number",
"description": "Maximum objects to ingest in one run"
},
"max_chars_per_object": {
"type": "number",
"description": "Maximum characters per object"
},
"force": {
"type": "boolean",
"description": "Override non-text extension/content safety checks"
}
},
"required": ["prefix"]
}
}
```
### Media Tools
#### `media.send`