farey_mediant_path
Compute a path between two rational numbers using Farey sequence mediant operations, with configurable denominator limits for arithmetic applications.
Instructions
Find path through Farey sequence using mediant operations. (Domain: arithmetic, Category: farey_sequences)
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": {
"start_p": "<start_p>",
"start_q": "<start_q>",
"end_p": "<end_p>",
"end_q": "<end_q>"
},
"name": "farey_mediant_path"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| start_p | Yes | ||
| start_q | Yes | ||
| end_p | Yes | ||
| end_q | Yes | ||
| max_denom | No |