Update pilot_manager.py

Typo.
fix call signature in tools
more signature fixes
snapshot
Merge branch 'devel' into feature/agent_optimization
snapshot
move schema resolution into session