1# WantAgentInfo 2 3The **WantAgentInfo** module defines the information required for triggering a **WantAgent** object. The information can be used as an input parameter in [getWantAgent](js-apis-app-ability-wantAgent.md#wantagentgetwantagent) to obtain a specified **WantAgent** object. 4 5> **NOTE** 6> 7> The initial APIs of this module are supported since API version 7. Newly added APIs will be marked with a superscript to indicate their earliest API version. 8 9## Modules to Import 10 11```ts 12import wantAgent from '@ohos.app.ability.wantAgent'; 13``` 14 15**System capability**: SystemCapability.Ability.AbilityRuntime.Core 16 17| Name | Type | Mandatory| Description | 18| -------------- | ------------------------------- | ---- | ---------------------- | 19| wants | Array\<Want\> | Yes | Array of all **Want** objects. | 20| operationType | [wantAgent.OperationType](js-apis-app-ability-wantAgent.md#operationtype) | Yes | Operation type. | 21| requestCode | number | Yes | Request code defined by the user.| 22| wantAgentFlags | Array<[wantAgent.WantAgentFlags](js-apis-app-ability-wantAgent.md#wantagentflags)> | No | Array of flags for using the **WantAgent** object. | 23| extraInfo | {[key: string]: any} | No | Extra information. | 24