slope_intercept
Calculate the slope-intercept and standard form equations of a line from two coordinate points. Input x1, y1, x2, and y2 to get both line equations.
Instructions
Find the line equation (slope-intercept and standard form) from two points.
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": {
"x1": "<x1>",
"y1": "<y1>",
"x2": "<x2>",
"y2": "<y2>"
},
"name": "slope_intercept"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| x1 | Yes | X of first point. | |
| x2 | Yes | X of second point. | |
| y1 | Yes | Y of first point. | |
| y2 | Yes | Y of second point. |