I guess your actual shape is more complex and you are not going to accept anything which suggests drawing the shown shape directly or combining with a rectangle.
Here's one manual method.
In the left there's 2 circles which are combined to one with Path > Union.
- Deselect all
- Click the shape with the node tool
- Select with the node tool those 2 nodes which are inside the red curve. Click+Hold shift or drag over the marked nodes to select both nodes for node operations. Select nothing else
- Press DEL and get the shape in the right
This works only in cases where the other nodes have the handles directed so that they form a convex shape. It will not work if you delete 2 nodes from the next version:
You must at first insert (double-click with the node tool) new nodes to 12 and 6 o'clock positions and then delete all nodes in the concave area. As well you could draw with the pen the missing pieces (it's only clicking, because you need only straight path segments) and make a path union. How to make the lines is shown in the end of this answer.
A programmer maybe could create an automatic method. I have never seen such function available in 2D drawing programs, but it can exist. Website Stack Overflow contains discussions of the problem and they have links to other sites where some actual code is presented. It's here off-topic. Here's one Stack Overflow discussion https://stackoverflow.com/questions/3208515/whats-an-easy-way-to-fill-a-concave-pathgeometry-to-be-convex-finding-the-conca
An answer in the linked discussion leads to an attempt to solve the problem by making something which imitates in 2D shrink wrapping or tightening a rope loop. It's not complete, because it works only with polygons.
I'm afraid making a working automatic program would be far beyond the skills of a casual programmer. But the idea is in Inkscape easily applicable to manual work, because Inkcape has well working (and much wanted) node snap option "Tangential Line". It's used in the next example:
In the left a polygon is drawn around the black shape. The number of nodes can be easily reduced or increased afterwards, if needed.
In the middle the nodes are moved with the node tool to get the tangential line snap indication. Unnecessary nodes are moved inside the black shape.The tangency harmfully isn't true at the other end of the line any more if one end is moved. For that reason you must walk around the shape several times and iterate the places of the nodes to be sure the result will be close enough the perfect one.
In the right the shapes are combined by applying Path > Union.
ADD: There's a comment (by user joojaa) which suggest to use an Illustrator add-on script, which makes the tangency true at both ends of a line. But that add-on is for Illustrator.