← All tool references

Productivity · not_available

Line Graph Maker

Line Graph Maker with transparent inputs and reviewable results.

Open public tool

Overview

Category
Productivity
API mode
not_available
Processing
client-side
Privacy
no-data-stored

Public descriptor

The descriptor is available without an API key and supplies this tool’s metadata, schemas, modes, and examples.

GET /api/v1/tools/line-graph-maker

View this descriptor as JSON

Execute availability

This tool is documented as a browser capability. Its execute route does not produce a server-side result; when execution is enabled, it responds with browser_interaction_required and points callers to the public tool page.

POST /api/v1/tools/line-graph-maker/execute

Authentication is not issued during the preview. A bearer API key is planned for execution after launch.

Input schema

object object; additional properties are not accepted.

data · string · required
Enter label,value rows.
title · string · required
Enter chart title.
x_label · string · required
Enter x-axis label.
y_label · string · required
Enter y-axis label.
{
    "type": "object",
    "properties": {
        "data": {
            "type": "string",
            "description": "Enter label,value rows."
        },
        "title": {
            "type": "string",
            "description": "Enter chart title."
        },
        "x_label": {
            "type": "string",
            "description": "Enter x-axis label."
        },
        "y_label": {
            "type": "string",
            "description": "Enter y-axis label."
        }
    },
    "required": [
        "data",
        "title",
        "x_label",
        "y_label"
    ],
    "additionalProperties": false
}

Output schema

On a successful execution, schema values appear in data.result.values.

points · array
Chart points produced by the tool.
minimum · number
Minimum produced by the tool.
maximum · number
Maximum produced by the tool.
summary · string
Trend summary produced by the tool.
{
    "type": "object",
    "properties": {
        "points": {
            "type": "array",
            "description": "Chart points produced by the tool."
        },
        "minimum": {
            "type": "number",
            "description": "Minimum produced by the tool."
        },
        "maximum": {
            "type": "number",
            "description": "Maximum produced by the tool."
        },
        "summary": {
            "type": "string",
            "description": "Trend summary produced by the tool."
        }
    },
    "additionalProperties": false
}

Line Graph Maker worked example

The request body follows the published input schema. The response below shows the success-envelope shape returned after execution is available.

curl -X POST "https://utilitypages.org/api/v1/tools/line-graph-maker/execute" \
  -H "Content-Type: application/json" \
  -d '{
    "data": "Jan,12\nFeb,18\nMar,15\nApr,24",
    "title": "Monthly trend",
    "x_label": "Month",
    "y_label": "Value"
}'
{
    "ok": true,
    "data": {
        "slug": "line-graph-maker",
        "result": {
            "values": {
                "points": [
                    {
                        "label": "Jan",
                        "value": 12
                    },
                    {
                        "label": "Feb",
                        "value": 18
                    },
                    {
                        "label": "Mar",
                        "value": 15
                    },
                    {
                        "label": "Apr",
                        "value": 24
                    }
                ],
                "minimum": 12,
                "maximum": 24,
                "summary": "4 points from 12 to 24."
            },
            "display": {
                "display": "[{\"label\":\"Jan\",\"value\":12},{\"label\":\"Feb\",\"value\":18},{\"label\":\"Mar\",\"value\":15},{\"label\":\"Apr\",\"value\":24}]"
            },
            "warnings": [],
            "assumptions": [],
            "steps": []
        }
    },
    "meta": [],
    "request_id": "req_example_123"
}

Errors

api_not_launched · 503
Returned by the current launch gate for every execute request.
invalid_json · 400
Returned when an enabled execute request does not contain valid JSON.
validation_failed · 422
Returned when a request does not satisfy the input schema.
browser_interaction_required · 422
Returned for browser capability tools instead of inventing a server-side result.
tool_not_found · 404
Returned when a requested descriptor slug does not exist.
execution_failed · 503
Returned when an enabled server-side execution cannot complete.