to_swaig_function
to_swaig_function
Convert this DataMap to a SWAIG function definition dictionary. Register the
result with your agent using agent.register_swaig_function().
Returns
dict[str, Any] — A dictionary containing the function name, description,
parameter schema, and data_map configuration (instead of a webhook URL).