# place.hud.tile

> A tile of a HUD canvas, in the repo of the member who added it in the canvas's space (place.hud.workspace), keyed by the tile's id (12 hex digits): one of HUD's read tools and its arguments, never its result, as a column of the canvas's strip of columns, or in a column's stack.

- Kind: record
- Record key: any
- Authority: hud.place
- Lexicon: 1
- Published by [lexicons.hud.place](https://lexicon.garden/identity/did:plc:3tzbz4pml36u4mkresb6pdhv), the NSID's authority

## Links

- [Documentation](https://lexicon.garden/lexicon/did:plc:3tzbz4pml36u4mkresb6pdhv/place.hud.tile)
- [Schema JSON](https://lexicon.garden/lexicon/did:plc:3tzbz4pml36u4mkresb6pdhv/place.hud.tile/schema.json)
- [Analytics](https://lexicon.garden/lexicon/did:plc:3tzbz4pml36u4mkresb6pdhv/place.hud.tile/analytics)

## Record (`place.hud.tile`)

Type: record · key any

### Properties

- `arguments` (unknown): The tool's arguments, an object. Arguments with a number that is not an integer, which a record cannot hold, are argumentsJson instead.
- `argumentsJson` (string): The tool's arguments as JSON text, where arguments cannot hold them.
  - Constraints: maxLength: 65536
- `by` (string, required): Who added it: the member, or an agent of theirs through HUD's MCP canvas tools.
  - Constraints: knownValues: person | agent
- `createdAt` (string · datetime, required)
- `from` (string): The key of the tile it was opened from, on the same canvas, which the workspace draws a connector from; that tile may be gone since.
  - Constraints: maxLength: 512
- `order` (string, required): Its place, a decimal number as text ("3", "2.5", "-1"), ascending: a column head's on the strip, a stacked tile's within its stack. Moving a tile writes a number between its new neighbours', so only it is rewritten.
  - Constraints: maxLength: 32
- `stack` (string): The key of the column-head tile it is stacked under, on the same canvas; none for a column's head.
  - Constraints: maxLength: 512
- `title` (string, required)
  - Constraints: maxLength: 2000, maxGraphemes: 200
- `tool` (string, required): The read tool whose result the tile shows, by its MCP name.
  - Constraints: maxLength: 64, knownValues: describe_repo | describe_app | describe_collection | describe_method | list_records | get_record | query | open_app
- `width` (string): Its column's width, as a share of the strip's visible width; a third where none is given. A stacked tile's column's is its head's.
  - Constraints: knownValues: third | half | two-thirds | full

## Schema

```json
{
  "$type": "com.atproto.lexicon.schema",
  "defs": {
    "main": {
      "description": "A tile of a HUD canvas, in the repo of the member who added it in the canvas's space (place.hud.workspace), keyed by the tile's id (12 hex digits): one of HUD's read tools and its arguments, never its result, as a column of the canvas's strip of columns, or in a column's stack.",
      "key": "any",
      "record": {
        "properties": {
          "arguments": {
            "description": "The tool's arguments, an object. Arguments with a number that is not an integer, which a record cannot hold, are argumentsJson instead.",
            "type": "unknown"
          },
          "argumentsJson": {
            "description": "The tool's arguments as JSON text, where arguments cannot hold them.",
            "maxLength": 65536,
            "type": "string"
          },
          "by": {
            "description": "Who added it: the member, or an agent of theirs through HUD's MCP canvas tools.",
            "knownValues": [
              "person",
              "agent"
            ],
            "type": "string"
          },
          "createdAt": {
            "format": "datetime",
            "type": "string"
          },
          "from": {
            "description": "The key of the tile it was opened from, on the same canvas, which the workspace draws a connector from; that tile may be gone since.",
            "maxLength": 512,
            "type": "string"
          },
          "order": {
            "description": "Its place, a decimal number as text (\"3\", \"2.5\", \"-1\"), ascending: a column head's on the strip, a stacked tile's within its stack. Moving a tile writes a number between its new neighbours', so only it is rewritten.",
            "maxLength": 32,
            "type": "string"
          },
          "stack": {
            "description": "The key of the column-head tile it is stacked under, on the same canvas; none for a column's head.",
            "maxLength": 512,
            "type": "string"
          },
          "title": {
            "maxGraphemes": 200,
            "maxLength": 2000,
            "type": "string"
          },
          "tool": {
            "description": "The read tool whose result the tile shows, by its MCP name.",
            "knownValues": [
              "describe_repo",
              "describe_app",
              "describe_collection",
              "describe_method",
              "list_records",
              "get_record",
              "query",
              "open_app"
            ],
            "maxLength": 64,
            "type": "string"
          },
          "width": {
            "description": "Its column's width, as a share of the strip's visible width; a third where none is given. A stacked tile's column's is its head's.",
            "knownValues": [
              "third",
              "half",
              "two-thirds",
              "full"
            ],
            "type": "string"
          }
        },
        "required": [
          "tool",
          "title",
          "order",
          "by",
          "createdAt"
        ],
        "type": "object"
      },
      "type": "record"
    }
  },
  "id": "place.hud.tile",
  "lexicon": 1
}
```
