# hero\_player\_id

#### hero\_player\_id

The Id of the player (from the list of players in the player list) that is the hero.

**Type:** integer

**Nullable:** true

{% hint style="info" %}
If this is an observed hand then hero\_player\_id can either be omitted or set to null.
{% endhint %}

**Example:**

```javascript
"hero_player_id": 2
```

No hero player in the hand.

```javascript
"hero_player_id": null
```


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://hh-specs.handhistory.org/json-object/hero_player_id.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
