Resolves to the tool's result serialized as JSON.
Optional
Rejects with an AbortError when options.signal aborts before registration finishes.
AbortError
options.signal
Resolves to the tool's result serialized as JSON.