# Summon Command

{% hint style="info" %}
This command players are given access to by <mark style="color:orange;">`DEFAULT`</mark>
{% endhint %}

{% hint style="warning" %}
This command could allow players to modify their pets default information
{% endhint %}

## What does this command do?

Running this command will spawn in the targeted pet type for the player.

## Command Usage

> <mark style="color:orange;">`<>`</mark> = REQUIRED
>
> <mark style="color:blue;">`[]`</mark> = OPTIONAL
>
> Usage: /pet summon <mark style="color:orange;">`<type>`</mark> <mark style="color:blue;">`[player]`</mark> <mark style="color:blue;">`[nbt]`</mark>

### Usage Descriptions

| Usage                                                                                                                                        | Description                                                                                                                                                                                                                                 |
| -------------------------------------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
| /pet summon <mark style="color:orange;">`<type>`</mark>                                                                                      | <p>This command will spawn the selected pet type (will be similar to spawning it from the gui)<br>Example: <mark style="color:green;"><code>/pet summon cow</code></mark></p>                                                               |
| /pet summon <mark style="color:orange;">`<type>`</mark> <mark style="color:blue;">`[nbt]`</mark>                                             | <p>This command will spawn the selected pet type with customized <a href="/pages/oaZlAyGl34D7hMF8y6rl">Pet NBT</a><br>Example: <mark style="color:green;"><code>/pet summon cow {baby:true}</code></mark></p>                               |
| /pet summon <mark style="color:orange;">`<type>`</mark> <mark style="color:blue;">`[player]`</mark>                                          | <p>This command will spawn the selected pet type for the targeted player<br>Example: <mark style="color:green;"><code>/pet summon cow Steve</code></mark></p>                                                                               |
| /pet summon <mark style="color:orange;">`<type>`</mark> <mark style="color:blue;">`[player]`</mark> <mark style="color:blue;">`[nbt]`</mark> | <p>This command will spawn the selected pet type for the targeted player with customized <a href="/pages/oaZlAyGl34D7hMF8y6rl">Pet NBT</a><br>Example: <mark style="color:green;"><code>/pet summon cow Steve {baby:true}</code></mark></p> |

## Permissions

| Permission Node           | Description                                                                                                                                                                                        |
| ------------------------- | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
| pet.commands.summon       | Grants the player access to run <mark style="color:red;">`/pet summon`</mark>                                                                                                                      |
| pet.commands.summon.all   | Grants the player access to <mark style="color:red;">`/pet summon all`</mark> <mark style="color:green;">`(will spawn all pets)`</mark> <mark style="color:orange;">`[IGNORES PERMISSIONS]`</mark> |
| pet.commands.summon.other | Grants the player access to summon pets for other players using <mark style="color:red;">`/pet summon`</mark>                                                                                      |
| pet.commands.summon.nbt   | Grants the player access to spawn pets with customized data                                                                                                                                        |


---

# 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://wiki.bsdevelopment.org/command-information/commands/summon-command.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.
