$input */ public function refusal(Ability $ability, array $input): ?WP_Error; /** The result of a finished call, possibly with added warnings. */ public function annotate(Ability $ability, mixed $result): mixed; /** * The output schema, possibly extended (e.g. by a warnings property). * * @param array|null $schema * @return array|null */ public function outputSchema(Ability $ability, ?array $schema): ?array; }