{"id":"integer-factorial","version":"1.0.0","description":"Compute n! (n factorial) exactly for a bounded non-negative integer n.","supported_operations":["integer factorial","n factorial","compute n!"],"unsupported_operations":["negative factorial","gamma function","double factorial"],"semantics":["n is a JSON integer from 0 to 100000.","0! is 1 by convention.","The result is computed exactly with BigInt multiplication, never floating point.","Requests whose exact result would exceed 1000 digits are rejected rather than truncated; in practice this rejects n much smaller than the nominal input ceiling."],"limits":{"max_n":100000,"max_digits":1000},"pricing":{"status":"unpriced","charge_usd":null},"input_schema":{"type":"object","additionalProperties":false,"required":["n"],"properties":{"n":{"type":"integer","minimum":0,"maximum":100000}}},"output_schema":{"type":"object","additionalProperties":false,"required":["value"],"properties":{"value":{"type":"string"}}},"examples":[{"input":{"n":10},"output":{"value":"3628800"}}],"execute_url":"/v1/tools/integer-factorial/versions/1.0.0/execute"}