-`. */ public function name(): string; /** * What WordPress and the agent are told about it. * * @return array{label: string, description: string, input_schema: array, annotations: array{readonly: bool, destructive: bool, idempotent: bool}} */ public function definition(): array; /** * @param array $input Already checked against the input schema. * @return array|WP_Error */ public function execute(array $input): array|WP_Error; /** @param array $input */ public function permitted(array $input): bool|WP_Error; }