pub fn invoke_json<P: ProviderCore>(input: String) -> Result<String, String>
Decode the canonical JSON envelope, invoke a reusable core, and encode its output for the WIT adapter.