fix: make visible pod list schema object
This commit is contained in:
parent
7c573f36e2
commit
df629b4dc6
|
|
@ -684,7 +684,11 @@ where
|
||||||
.description(
|
.description(
|
||||||
"List Pod state entries visible to this Pod. This is state-backed and does not expose the host-wide Pod universe.",
|
"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 {
|
let tool: Arc<dyn Tool> = Arc::new(ListVisiblePodsTool {
|
||||||
discovery: discovery.clone(),
|
discovery: discovery.clone(),
|
||||||
});
|
});
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue
Block a user