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