Air cylinder on pcp pistol

it sounds like it takes a Spanner wrench, you could try to find the right size spanner wrench or use a pair of channel locks or pipe wrench, please note: using channel locks or pipe wrench will leave marks and scratches, some might be very deep, so be very careful when using these tools, you might try making a wrench from a socket that fit over the end cap snuggly and drill a pin hole that fits the hole in the end cap, use hardened spring steel rod for the pins, it might work..... ;)