fix: make visible pod list schema object

This commit is contained in:
Keisuke Hirata 2026-05-23 12:29:37 +09:00
parent ee9bedc5de
commit 63407f153c
No known key found for this signature in database

View File

@ -684,7 +684,11 @@ where
.description(
"List Pod state entries visible to this Pod. This is state-backed and does not expose the host-wide Pod universe.",
)
.input_schema(serde_json::to_value(schemars::schema_for!(())).unwrap());
.input_schema(serde_json::json!({
"type": "object",
"properties": {},
"additionalProperties": false,
}));
let tool: Arc<dyn Tool> = Arc::new(ListVisiblePodsTool {
discovery: discovery.clone(),
});