Cotton code
53 lines · 1.6 KB · JSONRaw
{  "format_version": 1,  "id": "assistant_call",  "name": "Call",  "plural": "Calls",  "picture": null,  "builtin": true,  "engine": "assistant",  "columns": [    { "key": "tool", "name": "Tool", "type": "text", "required": true, "readonly": true },    { "key": "token_name", "name": "Connection", "type": "text", "readonly": true, "placeholder": "An unnamed connection" },    {  "key": "outcome",  "name": "Outcome",  "type": "choice",  "choices": [    "ok",    "refused"  ],  "readonly": true,  "red_when": [    "refused"  ],  "labels": {    "ok": "Completed",    "refused": "Refused"  }},    { "key": "args_summary", "name": "Asked for", "type": "text", "readonly": true },    { "key": "created_at", "name": "At", "type": "date", "readonly": true }  ],  "title": "tool",  "date": "created_at",  "project": null,  "order": null,  "slip": {    "title": "tool",    "subtitle": "args_summary",    "trailing": null,    "photo": null,    "toggle": null,    "caption": { "columns": ["token_name", "created_at"], "status": "outcome", "dates": [] }  },  "tile": { "face": "slip-list" },  "page": [    { "heading": null, "columns": ["tool", "outcome", "token_name", "args_summary", "created_at"] }  ],  "by_day": "created_at",  "delete": false,  "instructions": "Every call a connected assistant made to this database, newest first: the tool it called, the connection it came through (null once that connection is gone — the call stays listed), whether it was refused, and the server's own summary of what it asked for, shown exactly as written. Read-only.",  "tables": []}