Bag of worms, not literally!
Generally no one right answer. I run tubeless so bear that in mind. Not that much difference between local and remote rides.
Tools:
I use a hex bit driver and the required hex bits for the bike.
Leatherman Squirt pliers*
Chain tool with wire hook to hold the chain when working on it.
Tyre plug applicator (Sahmurai - fits in the ends of the bars)
Flexible superglue (to fix tyre plugs)*
Zip-ties*
Sewing kit (used for repairing cut in tyres as well as clothing, etc.)
Tyre lever*
Pump
Shock pump
Spares:
Powerlinks for chain
tyre plugs (two sizes)
Various nuts and bolts - for rotors, bottle cages, etc.
spare valve
spare valve core
Tubolito lightweight inner tube*
Spare brake pads.
Mech hanger
Tyre boot
I might add a gear cable for very remote rides.
The pump goes on the frame. Sahmurai goes in bar ends. Sewing kit is in its own pocket (Black Diamond Expedition Sewing Kit). Everything else apart from those with asterisks goes in a small tin. The tin of stuff weighs 130g and is about 95x14x14mm. All the above comes to 500g which sounds a lot but it's one of those things where cutting corners isn't worth it.
The tin is top right and everything below it and as far left as the glove goes in it as does the glove.
Other things, for short trips I'll have chain oil in one of those plastic fish that comes in supermarket Sushi packs, weighs all of 5g, longer trips I'll take a small tube of chain oil. I'll only take a 50ml tube of sealant on longer rides. Also for longer rides I've a Fiberfix emergency spoke - you can fit it without taking rotor or cassette off the wheel.
Shaf's link is to the correct PDF.