fix: make visible pod list schema object
This commit is contained in:
parent
ee9bedc5de
commit
63407f153c
|
|
@ -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(),
|
||||
});
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user