Deep workflow for LLM tool/function calling—schema design, validation, permissions, errors, idempotency, testing, and sa