[Home](./index.md) > [bitburner](./bitburner.md) > [AutocompleteData](./bitburner.autocompletedata.md) > [flags](./bitburner.autocompletedata.flags.md) ## AutocompleteData.flags() method Signature: ```typescript flags(schema: [string, string | number | boolean | string[]][]): { [key: string]: ScriptArg | string[] }; ``` ## Parameters | Parameter | Type | Description | | --- | --- | --- | | schema | \[string, string \| number \| boolean \| string\[\]\]\[\] | | Returns: { \[key: string\]: [ScriptArg](./bitburner.scriptarg.md) \| string\[\] }