Skip to main content

Set Map Entry

Command description​

Sets an entry in a map. If the key already exists, its value is replaced. This command modifies the original map.

Command Input Parameters​

input parametersInput parameter typeDescription
MapdictMap to modify
Key NameanyEntry key
Map ValueanyValue to associate with the key

Command Output Parameters​

None.

AI Workflow Generation Notes​

  • The command modifies the map in place and replaces any existing value for the same key.