# class_layout

Area: Read code. Safety: writes; dry-run unless dry_run=false.

Class layout from its methods: field offset, width, reads/writes, methods, vftable; takes a class name or a method address; apply=Name defines it as a struct typing each method's object (dry-run unless dry_run=false).

## Parameters

| Name | Type | Required | Description |
| --- | --- | --- | --- |
| `apply` | string | no | Struct name to define the layout as. |
| `class` | string | yes | Class name or a method address. |
| `dry_run` | boolean | no | Preview only; false applies. |

## Call

```json
{
  "name": "class_layout",
  "arguments": {
    "class": "<class>"
  }
}
```
