updating tool_spec to use expect