# profile.blame

> Talos next · Since next

Cost by script behaviour, phase, entity, draw group, physics, asset memory or load phase.

detail turns on costlier counters (script API calls, draw groups) a while: read again after.

| | |
|---|---|
| Title | Who paid |
| Mode | `editor` |
| Token cost | about 170 tokens (listed only when its toolset is enabled) |
| Toolset | `profile` |

## Arguments

| Argument | Type | Required | Default | Allowed values | Description |
|---|---|---|---|---|---|
| `by` | `enum` | no | `script` | `script`, `phase`, `entity`, `render`, `physics`, `asset`, `load` |  |
| `detail` | `object` | no |  |  | {on, seconds?}: counters that cost something; off after seconds (30) |
| `limit` | `integer` | no |  |  |  |
| `metric` | `enum` | no |  | `script_ms`, `triangles`, `contacts` | For by=entity |

## Example

An MCP `tools/call` with the required arguments (placeholders in angle brackets).

```json
{
  "name": "profile.blame",
  "arguments": {}
}
```
