sympy_rational
Construct a rational number from a numerator and denominator string. Enables exact fraction arithmetic for symbolic computation.
Instructions
Create Rational.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"num": "<num>",
"den": "<den>"
},
"name": "sympy_rational"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| num | Yes | ||
| den | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |