setMetadata
Set function-scoped metadata key-value pairs. Metadata is scoped to the current
function’s meta_data_token, so each function maintains its own independent
metadata store. Maps to the set_meta_data SWML action.
Parameters
data
Object of key-value pairs to store as metadata.
Returns
FunctionResult — this, for chaining.