rational_to_cf
Convert rational numbers to continued fraction representation. Enter numerator and denominator to generate the continued fraction form.
Instructions
Convert rational number to continued fraction. (Domain: arithmetic, Category: continued_fractions)
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": {
"p": "<p>",
"q": "<q>"
},
"name": "rational_to_cf"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| p | Yes | ||
| q | Yes |