> For the complete documentation index, see [llms.txt](https://sandbox-docs.verifone.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://sandbox-docs.verifone.com/s-adk-5.1-programmers-guide/readme/files/dir_f9c8c0699850f5588903704d86bd63e7/dir_9f39dd86019fee8ad514daa97fcb3202/syslogcmd_8h.md).

# syslogcmd.h

[Enumerations](#enum-members) | [Functions](#func-members)

`#include "priv/logapi_base.h"`

Include dependency graph for syslogcmd.h:

![](/files/HovsX7C8yxd8tYfugAiI)

[Go to the source code of this file.](/s-adk-5.1-programmers-guide/syslogcmd_8h_source.md)

|              |                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                 |
| ------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
| Enumerations |                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                 |
| enum         | <p><a href="#a0eb0f037f3c642e27dd2464751c7d4dd">SYSL\_ERROR</a> {<br>  <a href="#a0eb0f037f3c642e27dd2464751c7d4dda9ef200d935d00ae1552791644efed5ae">SYSL\_E\_OK</a> = 0, <a href="#a0eb0f037f3c642e27dd2464751c7d4dda511c0d098e5ada5f14b94d97bcb50d69">SYSL\_E\_PARAM</a> = -1, <a href="#a0eb0f037f3c642e27dd2464751c7d4dda223d0ee7107ff163db6fee7bbe12caf3">SYSL\_E\_CONN</a> = -2, <a href="#a0eb0f037f3c642e27dd2464751c7d4dda01020c22b699c17bd7a7b46ef5838ac1">SYSL\_E\_UNEXP</a> = -3,<br>  <a href="#a0eb0f037f3c642e27dd2464751c7d4dda885703cf951e3427f3028d633b0ff714">SYSL\_E\_NOT\_IMPL</a> = -99<br>}</p>                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          |
| enum         | [SYSL\_SRC](#acf4ae1d193df756ada6ad21ca9fe3254) { [SSRC\_VERIX\_BUF](#acf4ae1d193df756ada6ad21ca9fe3254a79ffb724fbdaf4b711aba9aa30c1172e) = 0x2, [SSRC\_APPS](#acf4ae1d193df756ada6ad21ca9fe3254ac7659f14e617cfac1e4d3aac76a692eb) = 0x4, [SSRC\_ALL](#acf4ae1d193df756ada6ad21ca9fe3254a842201a8e810be8fa4b5c198684bfeea) = 0x6 }                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              |
| enum         | <p><a href="#a2d22a0b7aa8b36200053c3ac5a643d39">SYSL\_LVL</a> {<br>  <a href="#a2d22a0b7aa8b36200053c3ac5a643d39a90d907b9e648fffb822a0903c3492bb5">SYSL\_LVL\_EMERG</a>, <a href="#a2d22a0b7aa8b36200053c3ac5a643d39a41180365af184099d33adef8bf672675">SYSL\_LVL\_ALERT</a>, <a href="#a2d22a0b7aa8b36200053c3ac5a643d39a7b416e234faa255d6ba19248c9eb1897">SYSL\_LVL\_CRIT</a>, <a href="#a2d22a0b7aa8b36200053c3ac5a643d39a88829c4a79698b372774e8e3765453b4">SYSL\_LVL\_ERROR</a>,<br>  <a href="#a2d22a0b7aa8b36200053c3ac5a643d39a51957f48b6df48daeeef09a61c615460">SYSL\_LVL\_WARN</a>, <a href="#a2d22a0b7aa8b36200053c3ac5a643d39a8c2cf77f620f26461d3c9e9911e3e2c4">SYSL\_LVL\_NOTICE</a>, <a href="#a2d22a0b7aa8b36200053c3ac5a643d39ae64372806c082a1d5b6e593bbbc7b1d5">SYSL\_LVL\_INFO</a>, <a href="#a2d22a0b7aa8b36200053c3ac5a643d39ad2626c7c0f06e2c387971a0065ebe078">SYSL\_LVL\_TRACE</a><br>}</p>                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                 |
| enum         | <p><a href="#aa5ce2add12b42175db5dbab55d3c384c">config\_option</a> {<br>  <a href="#aa5ce2add12b42175db5dbab55d3c384ca99788d1f27bac42d0c7bac63026c5959">ENABLED</a> = 0, <a href="#aa5ce2add12b42175db5dbab55d3c384ca22f853bba9ebb23d90508dc6496b746c">DESTINATION</a> = 1, <a href="#aa5ce2add12b42175db5dbab55d3c384ca4166650dbb29bc7320367331ef87d990">SERIAL\_COM</a> = 2, <a href="#aa5ce2add12b42175db5dbab55d3c384caf7578f5362abffff13fe66f4638fb7bc">UDP\_HOST</a> = 3,<br>  <a href="#aa5ce2add12b42175db5dbab55d3c384ca6855ab498cdb7dc1c1c184eb6c8bb038">LOG\_LEVEL</a> = 4, <a href="#aa5ce2add12b42175db5dbab55d3c384cadfc56233aff0b7514e9be0baa4571f35">UDP\_PORT</a> = 5, <a href="#aa5ce2add12b42175db5dbab55d3c384ca77374a65274f20cc342c53cc2fd52ea0">FILE\_NAME</a> = 6, <a href="#aa5ce2add12b42175db5dbab55d3c384caa377f3858ec8881a5e30e6ff03d54780">FILE\_BUF\_SIZE</a> = 7,<br>  <a href="#aa5ce2add12b42175db5dbab55d3c384cafbdb3be38e077abfa134caa588917869">LOG\_SOURCE</a> = 8, <a href="#aa5ce2add12b42175db5dbab55d3c384cad4aef5e04bb62e9f483d66f3818c7448">SEND\_RETRIES</a> = 9, <a href="#aa5ce2add12b42175db5dbab55d3c384cae669bd9b6473732da984d7b44c9b5f98">MAX\_LOGFILE\_SIZE</a> = 10, <a href="#aa5ce2add12b42175db5dbab55d3c384cacc5886741786e14c009b1406cf99c464">NUMBER\_OF\_FILES</a> = 11,<br>  <a href="#aa5ce2add12b42175db5dbab55d3c384ca14423b4eabe47dea2e98d5ebfdf10657">LOG\_FORMAT</a> = 12, <a href="#aa5ce2add12b42175db5dbab55d3c384ca1e34b580ae11439efa8c54f8d1927360">FILTER\_OUT\_CONSOLE\_LOGS</a> = 13, <a href="#aa5ce2add12b42175db5dbab55d3c384cad01a30ce08f64d860d896a43fb3110c5">MAX\_ENUM\_COUNT</a> = 14<br>}</p> |
| enum         | [COMMUNICATION](#a3634f6fef0c62931e673162e0714d39c) { [COM](#a3634f6fef0c62931e673162e0714d39caaaabad2553753eb2aceaa31ab2ad3d72), [ETH](#a3634f6fef0c62931e673162e0714d39cadbc24c1d2cb5f08132fc9a0f7aa683ae), [FS](#a3634f6fef0c62931e673162e0714d39ca59e0bfb4f405c70dd8788b19d5084966), [USB](#a3634f6fef0c62931e673162e0714d39ca65f6b55fdc64778bf10632a795b97761) }                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                           |
| enum         | { [LOGAPI\_SYSL\_BUFFER\_LEN](#a0411cd49bb5b71852cecd93bcbf0ca2daf49f701220e595ad6fd5f9ae64875362) = 50 }                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                       |

|                                                                       |                                                                                                                                                                 |
| --------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------------------------------------------------------- |
| Functions                                                             |                                                                                                                                                                 |
| LOGAPI\_PUBLIC enum [SYSL\_ERROR](#a0eb0f037f3c642e27dd2464751c7d4dd) | [syslcmd\_set\_level](#a9b45919ef5fe9f2b4ec89ff27d19ec30) (enum [SYSL\_LVL](#a2d22a0b7aa8b36200053c3ac5a643d39) lvl)                                            |
|                                                                       | <p>Sets level on syslog daemon side. <a href="#a9b45919ef5fe9f2b4ec89ff27d19ec30">More...</a><br></p>                                                           |
| LOGAPI\_PUBLIC enum [SYSL\_ERROR](#a0eb0f037f3c642e27dd2464751c7d4dd) | [syslcmd\_set\_source](#afa7176aab63ea25440d5790c64885caa) (enum [SYSL\_SRC](#acf4ae1d193df756ada6ad21ca9fe3254) src)                                           |
|                                                                       | <p>Sets source of log messages. <a href="#afa7176aab63ea25440d5790c64885caa">More...</a><br></p>                                                                |
| LOGAPI\_PUBLIC enum [SYSL\_ERROR](#a0eb0f037f3c642e27dd2464751c7d4dd) | [syslcmd\_set\_dest\_UDP](#ae5d5ce27ee87e076c762b06d8fe26fc5) (const char \*addr, int port)                                                                     |
|                                                                       | <p>Sets UPD as destination for messages. <a href="#ae5d5ce27ee87e076c762b06d8fe26fc5">More...</a><br></p>                                                       |
| LOGAPI\_PUBLIC enum [SYSL\_ERROR](#a0eb0f037f3c642e27dd2464751c7d4dd) | [syslcmd\_set\_dest\_COM](#a155d47993134d2694a06ffd000d06dd8) (int serial\_port)                                                                                |
|                                                                       | <p>Sets serial as destination for messages. <a href="#a155d47993134d2694a06ffd000d06dd8">More...</a><br></p>                                                    |
| LOGAPI\_PUBLIC enum [SYSL\_ERROR](#a0eb0f037f3c642e27dd2464751c7d4dd) | [syslcmd\_set\_dest\_FILE](#aff55c12911bcfc4dceee1e717a904e88) (const char \*filename)                                                                          |
|                                                                       | <p>Sets file as destination for messages. <a href="#aff55c12911bcfc4dceee1e717a904e88">More...</a><br></p>                                                      |
| LOGAPI\_PUBLIC enum [SYSL\_ERROR](#a0eb0f037f3c642e27dd2464751c7d4dd) | [syslcmd\_apply\_config](#ae79e868aa5c9cd5cbcf2772c9938c8ce) (void)                                                                                             |
|                                                                       | <p>apply configuration to syslog daemon <a href="#ae79e868aa5c9cd5cbcf2772c9938c8ce">More...</a><br></p>                                                        |
| LOGAPI\_PUBLIC enum [SYSL\_ERROR](#a0eb0f037f3c642e27dd2464751c7d4dd) | [syslcmd\_set\_cfg\_str](#aa4b80452347490e05b502546792aadae) (enum [config\_option](#aa5ce2add12b42175db5dbab55d3c384c) option, const char \*sval)              |
|                                                                       | <p>Sets string options(UDP host and file name) on syslog daemon side. <a href="#aa4b80452347490e05b502546792aadae">More...</a><br></p>                          |
| LOGAPI\_PUBLIC enum [SYSL\_ERROR](#a0eb0f037f3c642e27dd2464751c7d4dd) | [syslcmd\_set\_cfg\_int](#a8fe51a2185b092cbdcd6e883b93248bf) (enum [config\_option](#aa5ce2add12b42175db5dbab55d3c384c) option, int ival)                       |
|                                                                       | <p>Sets integer options(others than UDP host and file name) on syslog daemon side. <a href="#a8fe51a2185b092cbdcd6e883b93248bf">More...</a><br></p>             |
| LOGAPI\_PUBLIC enum [SYSL\_ERROR](#a0eb0f037f3c642e27dd2464751c7d4dd) | [syslcmd\_get\_cfg\_str](#a94f13c3a6a608ba2c24ace72bbc2714c) (enum [config\_option](#aa5ce2add12b42175db5dbab55d3c384c) option, char \*sval)                    |
|                                                                       | <p>Returns string options(UDP host and file name) from syslog daemon side. <a href="#a94f13c3a6a608ba2c24ace72bbc2714c">More...</a><br></p>                     |
| LOGAPI\_PUBLIC enum [SYSL\_ERROR](#a0eb0f037f3c642e27dd2464751c7d4dd) | [syslcmd\_get\_cfg\_str2](#ace143cbc5c26fa1bada02589c97c5027) (enum [config\_option](#aa5ce2add12b42175db5dbab55d3c384c) option, char \*sval, unsigned int len) |
|                                                                       | <p>Returns string options(UDP host and file name) from syslog daemon side. <a href="#ace143cbc5c26fa1bada02589c97c5027">More...</a><br></p>                     |
| LOGAPI\_PUBLIC enum [SYSL\_ERROR](#a0eb0f037f3c642e27dd2464751c7d4dd) | [syslcmd\_get\_cfg\_int](#a1665cdbed014c0926a02a242708c5234) (enum [config\_option](#aa5ce2add12b42175db5dbab55d3c384c) option, int \*ival)                     |
|                                                                       | <p>Returns integer options(others than UDP host and file name) on syslog daemon side. <a href="#a1665cdbed014c0926a02a242708c5234">More...</a><br></p>          |

### EnumerationType Documentation <a href="#enumeration-type-documentation" id="enumeration-type-documentation"></a>

### anonymousenum <a href="#a0411cd49bb5b71852cecd93bcbf0ca2d" id="a0411cd49bb5b71852cecd93bcbf0ca2d"></a>

anonymous enum

|                           |   |
| ------------------------- | - |
| Enumerator                |   |
| LOGAPI\_SYSL\_BUFFER\_LEN |   |

### COMMUNICATION <a href="#a3634f6fef0c62931e673162e0714d39c" id="a3634f6fef0c62931e673162e0714d39c"></a>

enum \[COMMUNICATION]\(#a3634f6fef0c62931e673162e0714d39c)

|            |   |
| ---------- | - |
| Enumerator |   |
| COM        |   |
| ETH        |   |
| FS         |   |
| USB        |   |

### config\_option <a href="#aa5ce2add12b42175db5dbab55d3c384c" id="aa5ce2add12b42175db5dbab55d3c384c"></a>

enum \[config\_option]\(#aa5ce2add12b42175db5dbab55d3c384c)

|                            |   |
| -------------------------- | - |
| Enumerator                 |   |
| ENABLED                    |   |
| DESTINATION                |   |
| SERIAL\_COM                |   |
| UDP\_HOST                  |   |
| LOG\_LEVEL                 |   |
| UDP\_PORT                  |   |
| FILE\_NAME                 |   |
| FILE\_BUF\_SIZE            |   |
| LOG\_SOURCE                |   |
| SEND\_RETRIES              |   |
| MAX\_LOGFILE\_SIZE         |   |
| NUMBER\_OF\_FILES          |   |
| LOG\_FORMAT                |   |
| FILTER\_OUT\_CONSOLE\_LOGS |   |
| MAX\_ENUM\_COUNT           |   |

### SYSL\_ERROR <a href="#a0eb0f037f3c642e27dd2464751c7d4dd" id="a0eb0f037f3c642e27dd2464751c7d4dd"></a>

enum \[SYSL\_ERROR]\(#a0eb0f037f3c642e27dd2464751c7d4dd)

codes returned by syslcmd\_ API

|                    |                                             |
| ------------------ | ------------------------------------------- |
| Enumerator         |                                             |
| SYSL\_E\_OK        | operation succeeded                         |
| SYSL\_E\_PARAM     | one or more paramteres are invalid          |
| SYSL\_E\_CONN      | no connection to daemon                     |
| SYSL\_E\_UNEXP     | unexpected error while executing a function |
| SYSL\_E\_NOT\_IMPL | not implemented                             |

### SYSL\_LVL <a href="#a2d22a0b7aa8b36200053c3ac5a643d39" id="a2d22a0b7aa8b36200053c3ac5a643d39"></a>

enum \[SYSL\_LVL]\(#a2d22a0b7aa8b36200053c3ac5a643d39)

Enum denotes an upper level of log messages

|                   |   |
| ----------------- | - |
| Enumerator        |   |
| SYSL\_LVL\_EMERG  |   |
| SYSL\_LVL\_ALERT  |   |
| SYSL\_LVL\_CRIT   |   |
| SYSL\_LVL\_ERROR  |   |
| SYSL\_LVL\_WARN   |   |
| SYSL\_LVL\_NOTICE |   |
| SYSL\_LVL\_INFO   |   |
| SYSL\_LVL\_TRACE  |   |

### SYSL\_SRC <a href="#acf4ae1d193df756ada6ad21ca9fe3254" id="acf4ae1d193df756ada6ad21ca9fe3254"></a>

enum \[SYSL\_SRC]\(#acf4ae1d193df756ada6ad21ca9fe3254)

Denotes a source of log messages

|                  |   |
| ---------------- | - |
| Enumerator       |   |
| SSRC\_VERIX\_BUF |   |
| SSRC\_APPS       |   |
| SSRC\_ALL        |   |

### FunctionDocumentation <a href="#function-documentation" id="function-documentation"></a>

### syslcmd\_apply\_config() <a href="#ae79e868aa5c9cd5cbcf2772c9938c8ce" id="ae79e868aa5c9cd5cbcf2772c9938c8ce"></a>

LOGAPI\_PUBLIC enum \[SYSL\_ERROR]\(#a0eb0f037f3c642e27dd2464751c7d4dd) syslcmd\_apply\_config

apply configuration to syslog daemon

### syslcmd\_get\_cfg\_int() <a href="#a1665cdbed014c0926a02a242708c5234" id="a1665cdbed014c0926a02a242708c5234"></a>

LOGAPI\_PUBLIC enum \[SYSL\_ERROR]\(#a0eb0f037f3c642e27dd2464751c7d4dd) syslcmd\_get\_cfg\_int

Returns integer options(others than UDP host and file name) on syslog daemon side.

**Parameters**

\[in] **option** configuration option to get \[out] **ival** configuration options value

### syslcmd\_get\_cfg\_str() <a href="#a94f13c3a6a608ba2c24ace72bbc2714c" id="a94f13c3a6a608ba2c24ace72bbc2714c"></a>

LOGAPI\_PUBLIC enum \[SYSL\_ERROR]\(#a0eb0f037f3c642e27dd2464751c7d4dd) syslcmd\_get\_cfg\_str

Returns string options(UDP host and file name) from syslog daemon side.

**Parameters**

\[in] **option** configuration option to get \[out] **sval** configuration options value

### syslcmd\_get\_cfg\_str2() <a href="#ace143cbc5c26fa1bada02589c97c5027" id="ace143cbc5c26fa1bada02589c97c5027"></a>

LOGAPI\_PUBLIC enum \[SYSL\_ERROR]\(#a0eb0f037f3c642e27dd2464751c7d4dd) syslcmd\_get\_cfg\_str2

Returns string options(UDP host and file name) from syslog daemon side.

**Parameters**

\[in] **option** configuration option to get \[out] **sval** configuration options value \[in] **len** string value's buffer size

### syslcmd\_set\_cfg\_int() <a href="#a8fe51a2185b092cbdcd6e883b93248bf" id="a8fe51a2185b092cbdcd6e883b93248bf"></a>

LOGAPI\_PUBLIC enum \[SYSL\_ERROR]\(#a0eb0f037f3c642e27dd2464751c7d4dd) syslcmd\_set\_cfg\_int

Sets integer options(others than UDP host and file name) on syslog daemon side.

**Parameters**

\[in] **option** configuration option to set \[in] **ival** value to set

### syslcmd\_set\_cfg\_str() <a href="#aa4b80452347490e05b502546792aadae" id="aa4b80452347490e05b502546792aadae"></a>

LOGAPI\_PUBLIC enum \[SYSL\_ERROR]\(#a0eb0f037f3c642e27dd2464751c7d4dd) syslcmd\_set\_cfg\_str

Sets string options(UDP host and file name) on syslog daemon side.

**Parameters**

\[in] **option** configuration option to set \[in] **sval** value to set

### syslcmd\_set\_dest\_COM() <a href="#a155d47993134d2694a06ffd000d06dd8" id="a155d47993134d2694a06ffd000d06dd8"></a>

LOGAPI\_PUBLIC enum \[SYSL\_ERROR]\(#a0eb0f037f3c642e27dd2464751c7d4dd) syslcmd\_set\_dest\_COM

Sets serial as destination for messages.

**Parameters**

\[in] **serial\_port** COM port to use

### syslcmd\_set\_dest\_FILE() <a href="#aff55c12911bcfc4dceee1e717a904e88" id="aff55c12911bcfc4dceee1e717a904e88"></a>

LOGAPI\_PUBLIC enum \[SYSL\_ERROR]\(#a0eb0f037f3c642e27dd2464751c7d4dd) syslcmd\_set\_dest\_FILE

Sets file as destination for messages.

**Parameters**

\[in] **filename** file to write logs to

### syslcmd\_set\_dest\_UDP() <a href="#ae5d5ce27ee87e076c762b06d8fe26fc5" id="ae5d5ce27ee87e076c762b06d8fe26fc5"></a>

LOGAPI\_PUBLIC enum \[SYSL\_ERROR]\(#a0eb0f037f3c642e27dd2464751c7d4dd) syslcmd\_set\_dest\_UDP

Sets UPD as destination for messages.

**Parameters**

\[in] **addr** address of target host \[in] **port** port of target host

### syslcmd\_set\_level() <a href="#a9b45919ef5fe9f2b4ec89ff27d19ec30" id="a9b45919ef5fe9f2b4ec89ff27d19ec30"></a>

LOGAPI\_PUBLIC enum \[SYSL\_ERROR]\(#a0eb0f037f3c642e27dd2464751c7d4dd) syslcmd\_set\_level

Sets level on syslog daemon side.

**Parameters**

\[in] **lvl** upper level of log messages

### syslcmd\_set\_source() <a href="#afa7176aab63ea25440d5790c64885caa" id="afa7176aab63ea25440d5790c64885caa"></a>

LOGAPI\_PUBLIC enum \[SYSL\_ERROR]\(#a0eb0f037f3c642e27dd2464751c7d4dd) syslcmd\_set\_source

Sets source of log messages.

**Parameters**

\[in] **src** source of log messages


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## 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, and the optional `goal` query parameter:

```
GET https://sandbox-docs.verifone.com/s-adk-5.1-programmers-guide/readme/files/dir_f9c8c0699850f5588903704d86bd63e7/dir_9f39dd86019fee8ad514daa97fcb3202/syslogcmd_8h.md?ask=<question>&goal=<endgoal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is optional and describes the broader end goal you are ultimately trying to accomplish on behalf of the user. GitBook uses it to tailor the answer towards what is most useful for that goal.

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.
