Make a Graph Paper link
make_plot_linkCheck a Graph Paper plot document and return the link that opens it. The link opens the plot as an editable draft in Graph Paper (https://graph-paper.io); the reader needs no account. Give the document as a JSON object in the format of get_plot_format. If the document has errors, the result lists each one with the path of the field and what to change, and no link; fix them and call the tool again. Warnings name the keys that were ignored. A JSON Schema of the document (draft-07) is at https://graph-paper.io/docs/schema/plot-document.schema.json, and a strict variant that also refuses every key that this tool only warns about is at https://graph-paper.io/docs/schema/plot-document.strict.schema.json.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| document | Yes | The plot document: a JSON object with at least "title" and "series". See get_plot_format and list_examples. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| ok | Yes | True when the document is valid and url is given. | |
| url | No | The link that opens the document. | |
| note | No | With ok true: the formulas were not computed, and what to ask the person when a row does not work. | |
| rows | No | How many rows of each kind the document has. | |
| title | No | ||
| errors | No | ||
| category | No | ||
| warnings | Yes | ||
| dimension | No |