> For AI agents: the complete documentation index is available at /next/zh/llms.txt, the full documentation bundle is available at /next/zh/llms-full.txt.

# Interface: QueryDefaultsOptions

提取 Query 默认值时可选的源码边界和求值上下文。

## Properties

### context?

> `optional` **context?**: [`EvaluationContext`](/next/zh/api/genui/openui/core/interfaces/EvaluationContext.md)

用于求值默认值表达式的上下文，不执行工具。

#### Default Value

```ts
Parsed state declarations, with references resolving to null.
```

***

### source?

> `optional` **source?**: `string`

解析结果对应的原始文本，用于排除自动补全的末尾语句。

#### Default Value

```ts
Omitted; incomplete parse results return an empty map.
```
