add_custom_parameters (Python agent API)