[{"id":"random","user_id":"e1491f4c-c762-4886-87a4-1dda2db4fcd8","name":"Random","meta":{"description":"Gen rand nums","manifest":{}},"access_grants":[],"updated_at":1776529154,"created_at":1776528971,"user":null,"write_access":true,"content":"from pydantic import BaseModel, Field\nimport random\n\n\nclass Tools:\n    def random_number(self, low: int, high: int):\n        \"\"\"\n        Generate a random number within a specified range.\n        returns a random integer between low and high (inclusive).\n        \"\"\"\n\n        try:\n            if low > high:\n                return {\n                    \"status\": \"error\",\n                    \"message\": \"from_value must be less than or equal to to_value\",\n                }\n\n            return {\"status\": \"success\", \"result\": random.randint(int(low), int(high))}\n\n        except Exception as e:\n            return {\"status\": \"error\", \"message\": str(e)}\n","specs":[{"name":"random_number","description":"Generate a random number within a specified range.\nreturns a random integer between low and high (inclusive).","parameters":{"properties":{"low":{"type":"integer"},"high":{"type":"integer"}},"required":["low","high"],"type":"object"}}]}]