{
  "title": "Slope calculator",
  "human_url": "https://happytails.ai/en/calculators/slope-calculator/",
  "agent_url": "https://happytails.ai/agents/en/calculators/slope-calculator/",
  "language": "en",
  "markdown_url": "https://happytails.ai/en/calculators/slope-calculator.md",
  "content": "Slope calculator\nFind the slope, rise and run between two points.\nHow can we improve this tool?\nReport a problem or share an idea.\nPlease leave out private information. Your message and the tool name go to our team via PostHog.\nHow to use Slope calculator\nEnter the values you want to calculate and choose the relevant units or settings.\nThe result updates as you type. Adjust the available settings if needed.\nReview the result, then use Copy result or a download link when available.\nUseful next steps\nMidpoint calculator\nDistance formula calculator\nQuadratic formula calculator\nHow to use it\nEnter the x and y coordinates of both points. Slope equals the change in y divided by the change in x. A negative answer means the line falls as x increases.\nA worked example\nThe points (1, 2) and (4, 6) have a rise of 4, a run of 3 and a slope of 4/3. Their y-intercept is 2/3.\nWhat to know\nA vertical line has undefined slope. Two identical points do not specify a line and must be changed. Coordinates describe a flat plane, not a map route.",
  "content_format": "text/plain",
  "visibility": "public",
  "links": [
    {
      "name": "Midpoint calculator",
      "url": "https://happytails.ai/en/calculators/midpoint-calculator/"
    },
    {
      "name": "Distance formula calculator",
      "url": "https://happytails.ai/en/calculators/distance-formula-calculator/"
    },
    {
      "name": "Quadratic formula calculator",
      "url": "https://happytails.ai/en/calculators/quadratic-formula/"
    }
  ],
  "tool": {
    "id": "slope-calculator",
    "category": "calculators",
    "built": true,
    "requirements": "A vertical line has undefined slope. Two identical points do not specify a line and must be changed. Coordinates describe a flat plane, not a map route.",
    "implementation": {
      "fields": [
        {
          "key": "x1",
          "label": "First x",
          "value": 1,
          "type": "number",
          "min": -1e+100,
          "max": 1e+100,
          "step": "any"
        },
        {
          "key": "y1",
          "label": "First y",
          "value": 2,
          "type": "number",
          "min": -1e+100,
          "max": 1e+100,
          "step": "any"
        },
        {
          "key": "x2",
          "label": "Second x",
          "value": 4,
          "type": "number",
          "min": -1e+100,
          "max": 1e+100,
          "step": "any"
        },
        {
          "key": "y2",
          "label": "Second y",
          "value": 6,
          "type": "number",
          "min": -1e+100,
          "max": 1e+100,
          "step": "any"
        }
      ],
      "input": false,
      "live": true,
      "presentation": "metrics",
      "note": "Slope is (y2 - y1) / (x2 - x1). Vertical lines have no finite slope. Identical points do not define a unique line.",
      "experience": {
        "automatic": true,
        "single": false,
        "inputMaxLength": 1000000,
        "inputMode": "text",
        "label": "Your text",
        "placeholder": "Type or paste your input…",
        "help": "Change the input or settings to update your result. Results update as you type. Up to 1,000,000 characters.",
        "action": null
      },
      "mode": "automatic",
      "interactive": false
    },
    "execution": "Browser interface",
    "api": null,
    "browser_agent": {
      "supported": true,
      "name": "run_current_tool",
      "discovery": "WebMCP on the human page in a supporting browser",
      "verification": "See audit/API-AUDIT.md; availability is not verification"
    }
  },
  "markdown": "# Slope calculator\n\n- Human page: https://happytails.ai/en/calculators/slope-calculator/\n- Markdown: https://happytails.ai/en/calculators/slope-calculator.md\n- Structured JSON: https://happytails.ai/agents/en/calculators/slope-calculator/index.json\n- Visibility: public\n\n## Tool capabilities\n\n| Property | Value |\n| --- | --- |\n| Tool ID | `slope-calculator` |\n| Category | calculators |\n| Implementation | Registered implementation. Registration alone is not a production-quality guarantee. |\n| Browser execution | Automatic updates after valid input or file selection. |\n| Browser processing | Browser; see tool notes for network behavior. |\n| HTTP API | Not callable through HTTP. |\n| Browser-agent interface | run_current_tool |\n\n### Implementation notes\n\nSlope is (y2 - y1) / (x2 - x1). Vertical lines have no finite slope. Identical points do not define a unique line.\n\n### Inputs and settings\n\nNo free-text input is required. Use the file inputs and/or settings below.\n\n| Setting | Meaning | Control type | Default | Constraints |\n| --- | --- | --- | --- | --- |\n| `x1` | First x | number | 1 | min=-1e+100 max=1e+100 step=any |\n| `y1` | First y | number | 2 | min=-1e+100 max=1e+100 step=any |\n| `x2` | Second x | number | 4 | min=-1e+100 max=1e+100 step=any |\n| `y2` | Second y | number | 6 | min=-1e+100 max=1e+100 step=any |\n\n### Browser-agent workflow\n\n1. Open the human page in a browser that supports WebMCP.\n2. Discover the interface exposed by that page; use its actual schema.\n3. Select files on the page first when the tool requires files.\n4. Call `run_current_tool` with valid input and settings.\n5. Inspect the returned result or error and the displayed output. Retrieve files from the displayed download links.\n\nCalls do not automatically copy or download results. Browser permissions still apply. Interface availability alone is not proof of successful execution.\n\n### Planning specification\n\nA vertical line has undefined slope. Two identical points do not specify a line and must be changed. Coordinates describe a flat plane, not a map route.\n\nThis describes intended requirements. Use the implementation notes, interface schema and observed output to determine current support.\n\n### Complete machine-readable capability record\n\n```json\n{\n  \"id\": \"slope-calculator\",\n  \"category\": \"calculators\",\n  \"built\": true,\n  \"requirements\": \"A vertical line has undefined slope. Two identical points do not specify a line and must be changed. Coordinates describe a flat plane, not a map route.\",\n  \"implementation\": {\n    \"fields\": [\n      {\n        \"key\": \"x1\",\n        \"label\": \"First x\",\n        \"value\": 1,\n        \"type\": \"number\",\n        \"min\": -1e+100,\n        \"max\": 1e+100,\n        \"step\": \"any\"\n      },\n      {\n        \"key\": \"y1\",\n        \"label\": \"First y\",\n        \"value\": 2,\n        \"type\": \"number\",\n        \"min\": -1e+100,\n        \"max\": 1e+100,\n        \"step\": \"any\"\n      },\n      {\n        \"key\": \"x2\",\n        \"label\": \"Second x\",\n        \"value\": 4,\n        \"type\": \"number\",\n        \"min\": -1e+100,\n        \"max\": 1e+100,\n        \"step\": \"any\"\n      },\n      {\n        \"key\": \"y2\",\n        \"label\": \"Second y\",\n        \"value\": 6,\n        \"type\": \"number\",\n        \"min\": -1e+100,\n        \"max\": 1e+100,\n        \"step\": \"any\"\n      }\n    ],\n    \"input\": false,\n    \"live\": true,\n    \"presentation\": \"metrics\",\n    \"note\": \"Slope is (y2 - y1) / (x2 - x1). Vertical lines have no finite slope. Identical points do not define a unique line.\",\n    \"experience\": {\n      \"automatic\": true,\n      \"single\": false,\n      \"inputMaxLength\": 1000000,\n      \"inputMode\": \"text\",\n      \"label\": \"Your text\",\n      \"placeholder\": \"Type or paste your input…\",\n      \"help\": \"Change the input or settings to update your result. Results update as you type. Up to 1,000,000 characters.\",\n      \"action\": null\n    },\n    \"mode\": \"automatic\",\n    \"interactive\": false\n  },\n  \"execution\": \"Browser interface\",\n  \"api\": null,\n  \"browser_agent\": {\n    \"supported\": true,\n    \"name\": \"run_current_tool\",\n    \"discovery\": \"WebMCP on the human page in a supporting browser\",\n    \"verification\": \"See audit/API-AUDIT.md; availability is not verification\"\n  }\n}\n```\n\n## Page guide\n\nFind the slope, rise and run between two points.\n\nHow can we improve this tool?\n\nReport a problem or share an idea.\n\nPlease leave out private information. Your message and the tool name go to our team via PostHog.\n\n### How to use Slope calculator\n\n1. Enter the values you want to calculate and choose the relevant units or settings.\n2. The result updates as you type. Adjust the available settings if needed.\n3. Review the result, then use Copy result or a download link when available.\n\n## Useful next steps\n\n- [Midpoint calculator](https://happytails.ai/en/calculators/midpoint-calculator/) ([Markdown](https://happytails.ai/en/calculators/midpoint-calculator.md))\n\n- [Distance formula calculator](https://happytails.ai/en/calculators/distance-formula-calculator/) ([Markdown](https://happytails.ai/en/calculators/distance-formula-calculator.md))\n\n- [Quadratic formula calculator](https://happytails.ai/en/calculators/quadratic-formula/) ([Markdown](https://happytails.ai/en/calculators/quadratic-formula.md))\n\n## How to use it\n\nEnter the x and y coordinates of both points. Slope equals the change in y divided by the change in x. A negative answer means the line falls as x increases.\n\n### A worked example\n\nThe points (1, 2) and (4, 6) have a rise of 4, a run of 3 and a slope of 4/3. Their y-intercept is 2/3.\n\n### What to know\n\nA vertical line has undefined slope. Two identical points do not specify a line and must be changed. Coordinates describe a flat plane, not a map route.\n"
}