Skip to content

TestTool

🛈 DocStrings

Source code in src/llmling/testing/tools.py
class TestTool:
    name = "test"
    description = "A test tool"

    async def execute(self, **kwargs: Any) -> str:
        return "Test tool executed"

    def get_schema(self) -> dict[str, Any]:
        return {
            "function": {
                "name": self.name,
                "description": self.description,
                "parameters": {"type": "object", "properties": {}},
            }
        }

:fa-brands-github: Show source on GitHub