Cotton code
80 lines · 1.9 KB · JSONRaw
{  "views": [    {      "id": "all",      "label": "All",      "visibility": "owner",      "is_default": true,      "read": {        "table": "document",        "where": {          "mime": "text/html"        }      },      "sort": {        "column": "created_at",        "descending": true      },      "slip": {        "title": "title",        "subtitle": null,        "trailing": null,        "photo": null,        "toggle": null,        "title_fallback": "original_name",        "caption": {          "dates": [            "created_at"          ],          "date_form": "relative"        },        "dye": "newsprint"      },      "tile": {        "face": "slip-list"      },      "face": "cards",      "card": {        "face": "artifact",        "fields": [          {            "slot": "title",            "column": "title"          },          {            "slot": "body",            "column": "summary"          },          {            "slot": "date",            "column": "created_at",            "form": "relative"          },          {            "slot": "source",            "column": "provenance"          },          {            "slot": "group"          }        ]      }    }  ],  "id": "artifacts",  "name": "Web pages",  "purpose": "Web pages agents made for you, kept and opened sealed.",  "picture": {    "photo": "photo:d604bd8a1643b525094c3988c8277674478d6009d6df0e412ff642259b43ece2",    "object": "tool-artifacts"  },  "card_stock": "cream",  "tables": [],  "instructions": "Web pages are the HTML pages agents made for the owner (Claude calls them artifacts): single self-contained HTML pages filed as documents with mime text/html, read through the Documents tool's document table (install Documents first). Read them with the document tools; never fetch what a page links to.",  "automations": [],  "author": {    "device": "cotton",    "name": "Cotton"  },  "signature": null}