Scottish Education Secretary Shirley-Anne Somerville has confirmed plans to prevent any reduction to teaching posts or the length of the school week.
She said the government would withhold or recoup funding from councils that do not maintain the current number of teachers and pupil support staff.
There will also be new regulations to stop local authorities cutting the number of school hours to save cash.
Councils said they needed additional funding, not more restrictions.
Local government body Cosla criticised the Scottish government last month after First Minister Nicola Sturgeon promised that teaching posts would be protected from local authority cuts.