--- title: Explain and summarize code description: Get a summary of the code or a comprehensive explanation of its functionality. locale: en-US canonical_url: https://www.servicenow.com/docs/r/australia/api-reference/scripts/explain-and-summarize-code-with-quick-actions.html release: australia product: Scripts classification: scripts topic_type: task last_updated: "2026-03-12" reading_time_minutes: 1 breadcrumb: [Use, ServiceNow Otto for Code, Scripting, API implementation, API implementation and reference] --- # Explain and summarize code Get a summary of the code or a comprehensive explanation of its functionality. ## Before you begin Role required: now.assist.creator ## Procedure 1. Navigate to any script editor enabled with ServiceNow Otto for Code. For example, to open a script include form, navigate to **All** > **System Definition** > **Script Includes** and select a script include. 2. In the script editor, select a code and then select the **Otto**. \[Omitted image "soc-otto-menu.png"\] Alt text: Select Summarize code to understand code. 3. To understand the purpose of the code, select **Summarize code**. \[Omitted image "soc-summarize-code.png"\] Alt text: Select Summarize code to get a short explanation of the code. 4. From the **Use Otto to** list, select **Explain code in detail** to get a comprehensive explanation of the code’s functionality. \[Omitted image "soc-summarize-code-detail.png"\] Alt text: Select Explain code in detail to get a detailed explanation of the code.