Function buildRegisteredExternalToolExecutionContext