# Pets

## get\_pets()

This function returns the characters summoned pets.

#### Usage

`get_pets()`

#### Returns

`None` or an object containing all summoned pets.

* The object can be empty.
* The `key` in the object is the pet ID.

```
{
	43182: {
		'name': '',
		'servername': 'COS_P_MYOWON',
		'model': 7493,
		'type': 'pick',
		'hp': 0,
		'mounted': False,
		'items': [
			None,
			{
				'model': 3769,
				'servername': 'ITEM_MALL_RETURN_SCROLL_HIGH_SPEED',
				'name': 'Instant Return Scroll',
				'quantity': 50,
				'plus': 0,
				'durability': 0
			},
			None,
			None,
			{
				'model': 36777,
				'servername': 'ITEM_MALL_DAMAGE_ABS_10P_SCROLL',
				'name': '10% damage absorption scroll',
				'quantity': 9,
				'plus': 0,
				'durability': 0
			},
			None,
			None,
			None,
			None,
			None,
			{
				'model': 3769,
				'servername': 'ITEM_MALL_RETURN_SCROLL_HIGH_SPEED',
				'name': 'Instant Return Scroll',
				'quantity': 2,
				'plus': 0,
				'durability': 0
			},
			None,
			None,
			None,
			None,
			None,
			None,
			None,
			{
				'model': 3795,
				'servername': 'ITEM_MALL_REVERSE_RETURN_SCROLL',
				'name': 'Reverse Return Scroll',
				'quantity': 50,
				'plus': 0,
				'durability': 0
			},
			None,
			None,
			None,
			None,
			None,
			None,
			None,
			None,
			None
		]
	}
}
```

## Pet Types

* `none`
  * In this case, `none` is a string. It's returned when the pet cannot be identified due to an error.
* `fellow`
* `horse`
* `pick`
* `transport`
* `wolf`


---

# 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://plugins.phbot.org/phbot-api/pets.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.
