Add extract-context eval support function