MediaWiki:Apihelp-compare-param-tocontentmodel
From MoodleDocs
Specify toslots=main and use tocontentmodel-main instead.
Note: You are currently viewing documentation for Moodle 3.6. Up-to-date documentation for the latest stable version of Moodle is likely available here: Apihelp-compare-param-tocontentmodel.