MCPcopy Create free account
hub / github.com/Lap-Platform/LAP / test_array_param

Method test_array_param

tests/test_toollean.py:255–258  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

253 assert spec.inputs == []
254
255 def test_array_param(self):
256 tool = {"name": "t", "inputSchema": {"properties": {"ids": {"type": "array", "items": {"type": "integer"}}}, "required": []}}
257 spec = compile_mcp_tool(tool)
258 assert spec.inputs[0].type == "[int]"
259
260
261# ══════════════════════════════════════════════════════════════════════

Callers

nothing calls this directly

Calls 1

compile_mcp_toolFunction · 0.90

Tested by

no test coverage detected