# Quests

## get\_quests()

Returns a dictionary of all active quests or `None` if you are not in game.

```
{
	616: {
		'type': 24,
		'name': 'Proof of Strength 2 (Hunter)',
		'npc': [26827],
		'servername': 'QNO_SD_GU_013',
		'objectives_completed': False,
		'completed': False
	},
	228: {
		'type': 24,
		'name': 'Undercloth Thief 3',
		'npc': [7538],
		'servername': 'QNO_CA_THIEF_3',
		'objectives_completed': False,
		'completed': False
	},
	613: {
		'type': 24,
		'name': 'Hunting in the Middle of the Temple Dispute 1 (Hunter)',
		'npc': [26827],
		'servername': 'QNO_SD_GU_010',
		'objectives_completed': False,
		'completed': False
	},
	614: {
		'type': 24,
		'name': 'Hunting in the Middle of the Temple Dispute 2 (Hunter)',
		'npc': [26827],
		'servername': 'QNO_SD_GU_011',
		'objectives_completed': False,
		'completed': False
	},
	615: {
		'type': 24,
		'name': 'Proof of Strength 1 (Hunter)',
		'npc': [26827],
		'servername': 'QNO_SD_GU_012',
		'objectives_completed': False,
		'completed': False
	}
}
```


---

# 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/quests.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.
