1# Intent Development Overview 2There are two methods to define intents. 3 4| Method| Description| Usage Scenario| 5| --- | --- | --- | 6| [Accessing Standard Intents](#accessing-standard-intents)| System-provided, predefined invocation specifications with unified definitions for intent parameter and execution result formats. The system matches intents based on the **schema** and **intentVersion** fields in the decorator, referencing a JSON Schema file stored in the SDK.| Use for common functions already defined in standard intents, such as playing music or navigation.| 7| [Creating Custom Intents](#creating-custom-intents)| Developer-defined invocation specifications for scenarios not covered by standard intents.| Necessary when your application's feature is not included in the standard intents.| 8 9## Accessing Standard Intents 10If your application's feature aligns with predefined standard intents (for example, playing music or navigation), you can directly use the standard intents to avoid redundant definitions. 11 12For the current standard intent specifications, see [Appendix: Standard Intent Access Specifications](insight-intent-access-specifications.md). 13 14Each intent contains the following elements: 15- Intent name: unique identifier of an intent. 16- Intent version: for compatibility control. 17- Parameter type definition: unified parameter format. 18- Result type definition: unified execution result format. 19 20## Creating Custom Intents 21If standard intents do not cover your application's features, you can create custom intents. The system parses the intent descriptions and parameter specifications, triggering execution when it matches user semantics. Custom intents are defined via [IntentDecoratorInfo](../reference/apis-ability-kit/js-apis-app-ability-InsightIntentDecorator.md#intentdecoratorinfo) and its child classes, including: 22- LLM description: a precise, comprehensive natural language description of the intent's function for semantic parsing. It should cover capabilities, definitions, and constraints. 23- Parameter type definition: custom parameter format following the JSON Schema specification, including parameter descriptions, types, and whether they are mandatory or optional. 24- Result type definition: custom execution result format following the JSON Schema specification, specifying the result type. 25 26For example, for an application with weather query capabilities, the model description could be: "Query real-time weather conditions of a geographical location by inputting longitude and latitude coordinates." 27